#
zzgtfwq
昨天 236edf0559e2d5a6031b1df56a69454baa0357e5
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -12,8 +12,13 @@
public interface WrkMastMapper extends BaseMapper<WrkMast> {
    WrkMast selectByLocNo(@Param("sourceLocNo") String sourceLocNo);
    WrkMast selectByBarcodeTwo(@Param("barcode") String barcode);
    WrkMast selectByLocNo1(@Param("sourceLocNo") String sourceLocNo);
    List<WrkMast> selectByCrnNo(@Param("crnNo") Integer crnNo);
    List<WrkMast> selectByCrnNoLog(@Param("crnNo") Integer crnNo);
//    @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();
@@ -24,6 +29,15 @@
    // 入库第一步,扫码仪获取条码信息时查询
//    @Select("select top 1 * from asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=2 and barcode=#{barcode} and (io_type=1 or io_type=10) order by io_pri desc,io_time,wrk_no ASC")
    WrkMast selectPakInStep1(@Param("sourceStaNo")Integer sourceStaNo, @Param("barcode")String barcode);
    WrkMast selectPakInStep5(@Param("staNo")Integer staNo,@Param("sheetNo")String sheetNo);
    /**
     * 查询同一台堆垛机下所有出库任务
     * @param crnNo
     * @return
     */
    List<WrkMast> selectPakInStep12(@Param("crnNo")Integer crnNo);
    WrkMast selectPakInStepBarcode(@Param("barcode")String barcode);
@@ -49,6 +63,14 @@
//    @Select("select top 1 * from dbo.asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=12 and io_type>100 order by io_pri desc,io_time desc,wrk_no ASC")
    WrkMast selectPakOutStep2(@Param("sourceStaNo")Integer sourceStaNo);
    /**
     * 查询同一台堆垛机下所有出库任务
     * @param crnNO
     * @return
     */
    List<WrkMast> selectPakOutStep12(@Param("crnNo")Integer crnNO);
    WrkMast selectPakOutStep9997(@Param("sourceStaNo")Integer sourceStaNo);
    WrkMast selectPakOutStep107(@Param("barcode")String barcode);
    WrkMast selectPakOutStep9996(@Param("sourceStaNo")Integer sourceStaNo);