| | |
| | | // @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 selectPakInStep1All(@Param("sourceStaNo")Integer sourceStaNo,@Param("crnNo")Integer crnNo); |
| | | |
| | | |
| | | WrkMast selectPakInStepBarcode(@Param("barcode")String barcode); |
| | | |
| | | WrkMast selectPakInStep11(@Param("sourceStaNo")Integer sourceStaNo); |
| | |
| | | // @Select("select top 1 * from dbo.asr_wrk_mast where wrk_sts=2 and crn_no=#{crnNo} and wrk_no=#{workNo} and (io_type=1 or io_type=10 or io_type=53 or io_type=54 or io_type=57) order by io_pri desc,io_time,wrk_no ASC") |
| | | WrkMast selectPakInStep2(@Param("crnNo")Integer crnNo, @Param("workNo")Integer workNo, @Param("staNo")Integer staNo); |
| | | |
| | | WrkMast selectPakInStep103(@Param("crnNo")Integer crnNo); |
| | | |
| | | WrkMast selectPakInStep104(@Param("crnNo")Integer crnNo); |
| | | |
| | | |
| | | WrkMast selectByPltType(@Param("crnNo")Integer crnNo,@Param("pltType")Integer pltType); |
| | | |
| | | |
| | | // 入库第三步,当堆垛机把货放入库位时 |
| | | // @Select("select top 1 from dbo.asr_wrk_mast where wrk_no=#{workNo}") |
| | | WrkMast selectPakInStep3(@Param("workNo")Integer workNo); |
| | |
| | | // 拣料再入库时,站点有物且需求时查询 |
| | | // @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") |
| | |
| | | */ |
| | | List<WrkMast> selectPakOutStep11(@Param("crnNo")Integer crnNO, @Param("sourceStaNo")Integer sourceStaNo); |
| | | |
| | | List<WrkMast> selectPakOutStep107(@Param("crnNo")Integer crnNO, @Param("sourceStaNo")Integer sourceStaNo); |
| | | |
| | | |
| | | |
| | | WrkMast selectWorkingPakin(@Param("sourceStaNo")Integer sourceStaNo); |
| | | WrkMast selectWorkingPakout(@Param("sourceStaNo")Integer sourceStaNo); |
| | | |
| | |
| | | |
| | | |
| | | WrkMast selectPickStep2(@Param("barcode")String barcode); |
| | | |
| | | WrkMast selectByWrkNo(@Param("wrkNo")Integer wrkNo); |
| | | } |