| | |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",108) |
| | | .eq("crn_no",2) |
| | | .orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | | } |
| | | for (AgvWrkMast agvWrkMast : agvWrkMastList) { |
| | | ReturnT<String> returnT = autoMoveHandler.start2(agvWrkMast); |
| | | } |
| | | |
| | | } |
| | | |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void execute5(){ |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",108) |
| | | .eq("crn_no",3) |
| | | .orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | | } |
| | |
| | | } |
| | | |
| | | // 空板自动回库 库位-接驳点 |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | private void autoEmptyBack(){ |
| | | // 查询 不为1楼的空货架 |
| | | List<AgvLocMast> agvLocMasts = agvLocMastService.selectList( |
| | |
| | | } |
| | | } |
| | | // 空板自动回库 接驳点 - 1楼库位 |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | private void autoEmptyBack3(){ |
| | | // 工作档为201 且 入出库类型为109 |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 201) |
| | | .eq("loc_no","") |
| | | .or().eq("io_type",109) |
| | | .eq("io_type",109) |
| | | .or().eq("io_type",112)); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | |
| | | } |
| | | |
| | | // 空板自动回库 |
| | | //@Scheduled(cron = "0/2 * * * * ? ") |
| | | @Scheduled(cron = "0/2 * * * * ? ") |
| | | private void autoEmptyBack2(){ |
| | | // 查询 不为1楼的空货架 |
| | | List<AgvLocMast> agvLocMasts = agvLocMastService.selectList( |