| | |
| | | @Autowired |
| | | private SlaveProperties slaveProperties; |
| | | |
| | | // @Scheduled(cron = "0/3 * * * * ? ") |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private void execute(){ |
| | | if (!moveAll) return; |
| | | |
| | |
| | | return; |
| | | } |
| | | for (BasCrnp basCrnp:basCrnps){ |
| | | if (basCrnp.getCrnSts()!=3) continue; |
| | | if (basCrnp.getCrnNo()==5) continue; |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("crn_no",basCrnp.getCrnNo())); |
| | | if (Cools.isEmpty(wrkMasts) || wrkMasts.size()==0) { |
| | | LocMast locMastStart = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_sts","D").eq("crn_no",basCrnp.getCrnNo()).orderBy("appe_time",true));//空板所在 |