lty
2025-07-25 09f634c766e8daeeb687d48fd645f225afc3c082
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -20,6 +20,8 @@
    List<WrkMast> selectToBeHistoryData();
    WrkMast selectPakInOne(@Param("crnNo")Integer crnNo);
    // wcs ---------------------------------------------
    // 入库第一步,扫码仪获取条码信息时查询
//    @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")
@@ -40,6 +42,7 @@
    // 拣料再入库时,站点有物且需求时查询
//    @Select("select top 1 * from asr_wrk_mast where wrk_no=#{workNo} and wrk_sts=14 and (io_type=103 or io_type=107 or io_type=104)")
    WrkMast selectPickStep(@Param("barcode")String barcode);
    WrkMast selectPickStep3(@Param("workNo")Integer workNo);
    // 出库第一步,从库位到堆垛机出库站
//    @Select("select top 1 * from dbo.asr_wrk_mast where crn_no=#{crnNo} and wrk_sts=11 and io_type>100 order by io_pri desc,io_time,wrk_no asc")
@@ -110,4 +113,6 @@
    WrkMast selectPickStep2(@Param("barcode")String barcode);
    WrkMast selectByWrkNo(@Param("wrkNo")Integer wrkNo);
}