| | |
| | | // @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("wrkNo")Short wrkNo); |
| | | |
| | | WrkMast selectPickStepByBarcode(@Param("barcode")String barcode); |
| | | |
| | | // 出库第一步,从库位到堆垛机出库站 |
| | | // @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") |
| | | WrkMast selectPakOutStep111215(@Param("crnNo")Integer crnNO, @Param("sourceStaNo")Integer sourceStaNo); |
| | |
| | | |
| | | WrkMast selectPakout(@Param("crnNo")Integer crnNo, @Param("steNo")Integer steNo); |
| | | |
| | | /** |
| | | * 查询工作档是是否存在未完成的移库任务,状态17表示移库已经完成,等待回原库位 |
| | | * @param crnNo |
| | | * @return |
| | | */ |
| | | WrkMast selectLocMoveWorking(@Param("crnNo")Integer crnNo); |
| | | |
| | | /** |
| | | * 查找工作状态为17的移库完成任务,待处理回到原库位,并顺序往里移动 |
| | | * @param crnNo |
| | | * @return |
| | | */ |
| | | WrkMast selectLocMove17(@Param("crnNo")Integer crnNo); |
| | | |
| | | 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); |
| | | } |