| | |
| | | } |
| | | |
| | | // 下发出库任务给GWCS(从出库码头到出库口) |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | public void ckrwPushGwcs() { |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | public synchronized void ckrwPushGwcs() { |
| | | // 查询状态为13的工作档 |
| | | List<WrkMast> wrkMasts = wrkMastMapper.selectList(new EntityWrapper<WrkMast>().in("io_type", 101,103,107,110,3,12,109).eq("wrk_sts", 13)); |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | |
| | | ghjtHandler.autoTallyGoods(flag); |
| | | } |
| | | |
| | | // 自动提高浅库位出库任务优先级 |
| | | @Scheduled(cron = "0/10 * * * * ? ") |
| | | public void boostShallowLocationTaskPriority() { |
| | | wrkMastMapper.updatePriorityByShallow(); |
| | | } |
| | | } |