| | |
| | | } |
| | | } |
| | | } |
| | | // for(Integer staNo: STA_WORK_Exception){ |
| | | // BasDevp basDevp = basDevpService.selectById(staNo); |
| | | // basDevp.setDevNo(siteOutMap.get(basDevp.getDevNo())); |
| | | // if (basDevp.getWrkNo()!=0 && basDevp.getLoading().equals("Y") && basDevp.getAutoing().equals("Y")){ |
| | | // ReturnT<String> result = wrkMastStaInItHandler.start(wrkMast,basDevp,22);//出库 |
| | | // if (result.getCode()==200) { |
| | | // continue; |
| | | // } else { |
| | | // System.out.println(staNo+"失败3!"); |
| | | // } |
| | | // |
| | | // } |
| | | // } |
| | | for(Integer staNo: STA_WORK_Exception){ |
| | | BasDevp basDevp = basDevpService.selectById(staNo); |
| | | basDevp.setDevNo(siteOutMap.get(basDevp.getDevNo())); |
| | | if (basDevp.getWrkNo()!=0 && basDevp.getLoading().equals("Y") && basDevp.getAutoing().equals("Y")){ |
| | | ReturnT<String> result = wrkMastStaInItHandler.start(null,basDevp,23);//异常退出 |
| | | if (result.getCode()==200) { |
| | | continue; |
| | | } else { |
| | | System.out.println(staNo+"失败3!"); |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | // @Scheduled(cron = "0/3 * * * * ? ") |