| | |
| | | * ioType 108.自动调拨 |
| | | * crnNo :2目标楼层 |
| | | */ |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void execute2(){ |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private synchronized void execute2(){ |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",108) |
| | |
| | | agvWrkMastService.updateById(agvWrkMast); |
| | | //更新目标库位状态 |
| | | updateAgvLocMast(locMast,"S"); |
| | | log.info("自动回流任务 ==> 源库位:{},目标库位:{}",agvWrkMast.getSourceLocNo(),agvWrkMast.getLocNo()); |
| | | |
| | | return SUCCESS; |
| | | } |