| | |
| | | |
| | | 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; |
| | |
| | | @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); |
| | | |
| | | } |