自动化立体仓库 - WMS系统
#
yxFwq
5 天以前 d60e84cbedb554555578f071de95c4a8049183db
src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
@@ -17,7 +17,7 @@
/**
 * Created by Monkey D. Luffy on 2023.07.25
 * 徐工汉云..............以下.............上饶江铜.............自动补空板
 * 徐工汉云..............以下.............上饶江铜.............小车执行作业生成
 */
@Component
public class WrkMastStaInItScheduler {
@@ -63,7 +63,7 @@
    }};
    @Scheduled(cron = "0/3 * * * * ? ")
//    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute(){
        for(Integer staNo : STA_WORK_CU){
            BasDevp basDevp = basDevpService.selectById(staNo);
@@ -90,14 +90,14 @@
                        if (result.getCode()==200){
                            continue;
                        }else {
                            System.out.println(staNo+"失败!");
                            System.out.println(staNo+"失败1!");
                        }
                    } else {
                        ReturnT<String> result = wrkMastStaInItHandler.start(wrkMast,basDevp,23);//5:满取
                        if (result.getCode()==200){
                            continue;
                        }else {
                            System.out.println(staNo+"失败!");
                            System.out.println(staNo+"失败2!");
                        }
                    }
                }
@@ -123,14 +123,14 @@
                        if (result.getCode()==200) {
                            continue;
                        } else {
                            System.out.println(staNo+"失败!");
                            System.out.println(staNo+"失败3!");
                        }
                }
            }
        }
    }
    @Scheduled(cron = "0/3 * * * * ? ")
//    @Scheduled(cron = "0/3 * * * * ? ")
    private void execute2(){
        try{
            for(Integer staNo : STA_WORK_CU){
@@ -193,7 +193,7 @@
                            if (result.getCode()==200){
                                continue;
                            }else {
                                System.out.println(staNo+"失败!");
                                System.out.println(staNo+"失败4!");
                            }
                        }
                    }