| | |
| | | @Autowired |
| | | private ReportToDismantleTheStackHandler reportToDismantleTheStackHandler; |
| | | |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | @Scheduled(cron = "0/1 * * * * ? ") |
| | | private void execute(){//拆垛信息上传 |
| | | int[] staNos =new int[]{118,119,120,121}; |
| | | int[] staNos =new int[]{118,120,121}; |
| | | for (int staNo : staNos){ |
| | | if (staNo==119) continue; |
| | | try{ |
| | | ReturnT<String> result = reportToDismantleTheStackHandler.start(staNo); |
| | | ReturnT<String> result = reportToDismantleTheStackHandler.start2(staNo); |
| | | if (result.getCode()==200){ |
| | | break; |
| | | } |