#
TQS
2023-01-31 5ed47a30b8f3af41c906fac6337ea171d7bd39aa
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 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")
    List<WrkMast> selectToBeCompleteData();
@@ -99,4 +100,20 @@
    List<WrkMast> selectPick17(@Param("staNo") Integer staNo, @Param("wrkNo") Integer wrkNo);
    /**
     * 查询工作档是否存在移库任务
     * @param crnNo
     * @return
     */
    WrkMast selectLocMoveData(@Param("crnNo")Integer crnNo);
    /**
     * 查找工作档是否已存在绑定小车号的任务,状态17的除外
     * @param steNo
     * @return
     */
    WrkMast selectSteNoData(@Param("steNo")Integer steNo);
    List<WrkMast> selectWrkStsAndIoType(@Param("sour")Integer sour);
    List<WrkMast> selectWrkStsAndIoType0(@Param("sour")Integer sour);
}