自动化立体仓库 - WMS系统
1
7 天以前 f0adc332d570cde0084bce7372ae7b9653b8c93b
src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
@@ -131,19 +131,19 @@
                }
            }
        }
//        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 * * * * ? ")