From dbc2514aad6b2b70b08e81f33d45f64aae175ccf Mon Sep 17 00:00:00 2001 From: yxFwq <1> Date: 星期二, 19 十一月 2024 16:31:34 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/WrkMastExecuteMapper.java | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/WrkMastExecuteMapper.java b/src/main/java/com/zy/asrs/mapper/WrkMastExecuteMapper.java index c3f3233..2060f52 100644 --- a/src/main/java/com/zy/asrs/mapper/WrkMastExecuteMapper.java +++ b/src/main/java/com/zy/asrs/mapper/WrkMastExecuteMapper.java @@ -2,7 +2,6 @@ import com.zy.asrs.entity.WrkMastExecute; import com.baomidou.mybatisplus.mapper.BaseMapper; -import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @@ -11,6 +10,9 @@ @Repository public interface WrkMastExecuteMapper extends BaseMapper<WrkMastExecute> { - @Insert("insert into jar_wrk_mast_execute_log select * from jar_wrk_mast_execute where io_type=#{ioType} and wrk_sts=#{wrkSts} and wrk_type=1") - int save(@Param("ioType") Integer ioType,@Param("wrkSts") Integer wrkSts); +// @Insert("insert into jar_wrk_mast_execute_log select * from jar_wrk_mast_execute where io_type=#{ioType} and wrk_sts=#{wrkSts} and wrk_type=2") +// int save(@Param("ioType") Integer ioType,@Param("wrkSts") Integer wrkSts); + + WrkMastExecute selectIoTypeAndWekSts(@Param("ioType") Integer ioType,@Param("wrkSts") Integer wrkSts); + } -- Gitblit v1.9.1