| | |
| | | continue; |
| | | } |
| | | |
| | | log.info("{}号堆垛机选定的出库口是{}",crnProtocol.getCrnNo(),crnStn.getPlatNo()); |
| | | |
| | | // 工作档状态判断 |
| | | if (wrkMast.getIoType() < 100 || wrkMast.getSourceStaNo() == null) { |
| | | if ((wrkMast.getIoType() < 100 && wrkMast.getIoType()!=12) || wrkMast.getSourceStaNo() == null) { |
| | | log.error("查询工作档数据不符合条件--入出类型/站点, 工作号={},源库位={},入出类型={}", wrkMast.getWrkNo(), wrkMast.getSourceLocNo(), wrkMast.getIoType()); |
| | | continue; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 12.跨巷道移库 |
| | | */ |
| | | public synchronized void autoMoveLoc() { |
| | | |
| | | } |
| | | } |
| | |
| | | // 二楼空托回流到一楼,3.站到站任务 |
| | | mainService.emptyTrayReflux(); |
| | | |
| | | // 12.跨巷道转移 |
| | | mainService.autoMoveLoc(); |
| | | |
| | | /////////////////////////////////////RGV调度///////////////////////////////////// |
| | | // i++; |
| | | // k++; |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakInStep12" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast where wrk_sts=2 and crn_no=#{crnNo} 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 |
| | | select * from dbo.asr_wrk_mast where wrk_sts=2 and crn_no=#{crnNo} and (io_type=1 or io_type=10 or io_type=53 or io_type=54 or io_type=57 or io_type = 12) order by io_pri desc,io_time,wrk_no ASC |
| | | </select> |
| | | |
| | | <select id="selectPakInStep3" resultMap="BaseResultMap"> |
| | |
| | | </select> |
| | | |
| | | <select id="selectPakOutStep12" resultMap="BaseResultMap"> |
| | | select * 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 |
| | | select * from dbo.asr_wrk_mast where crn_no=#{crnNo} and wrk_sts=11 and (io_type>100 or io_type = 12) order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | |
| | | <!-- 入出库模式相关 --> |