1
zhang
2025-06-05 c48d0150aa9f6b297671f28adb6b9dc95b529cfc
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -12,6 +12,7 @@
public interface WrkMastMapper extends BaseMapper<WrkMast> {
    WrkMast selectByLocNo(@Param("sourceLocNo") String sourceLocNo);
    WrkMast selectByOnlyWrkNo(@Param("wrkNo") Integer wrkNo);
    WrkMast selectByLocNo1(@Param("sourceLocNo") String sourceLocNo);
//    @Select("select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) and io_type <> 103 and io_type <> 104 and io_type <> 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,io_time,wrk_no")
@@ -56,9 +57,13 @@
//    @Select("select top 1 * from dbo.asr_wrk_mast where wrk_sts=11 and (io_type=11 or io_type=110) and crn_no=#{crnNo} order by io_time,wrk_no")
    WrkMast selectLocMove(@Param("crnNo")Integer crnNo);
    WrkMast selectLocMove111(@Param("crnNo")Integer crnNo);
    WrkMast selectLocMoving(@Param("crnNo")Integer crnNo);
    WrkMast selectWorking(@Param("crnNo")Integer crnNo);
    WrkMast selectWorking1(@Param("crnNo")Integer crnNo, @Param("wrkNo")Integer wrkNo);
    // work log -------------------------------------------------------
    @Insert("insert into asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}")
@@ -115,4 +120,14 @@
    WrkMast selectSteNoData(@Param("steNo")Integer steNo);
    List<WrkMast> selectWrkStsAndIoType(@Param("sour")Integer sour);
    List<WrkMast> selectWrkStsAndIoType0(@Param("sour")Integer sour);
    List<WrkMast> selectWrkStsAndIoType1(@Param("sour")Integer sour);
    Integer selectWrkStsAndIoType107Count(@Param("sour")Integer sour,@Param("workNo")Integer workNo);
    WrkMast selectWorkingPakin(@Param("sourceStaNo")Integer sourceStaNo);
    WrkMast selectWorkingPakout(@Param("sourceStaNo")Integer sourceStaNo);
    WrkMast selectWorkingPakoutTwoF(@Param("staNo")Integer staNo);
    WrkMast selectShallowLoc(@Param("row")Integer row,@Param("bay")Integer bay,@Param("lev")Integer lev);
}