自动化立体仓库 - WMS系统
#
lsh
2024-10-11 f42ab50e23d905a963218ee05fdf40b7028dfbd0
src/main/java/com/zy/asrs/task/WrkMastStaInItScheduler.java
@@ -45,7 +45,7 @@
    }};
    public static final List<Integer> STA_WORK_CU_CAR = new ArrayList<Integer>() {{
        add(118);add(119);add(120);add(121);
        add(118);add(120);add(121);
    }};
    public static final List<Integer> STA_WORK_CU_CAR_TWO = new ArrayList<Integer>() {{
@@ -55,11 +55,11 @@
        add(118);add(120);
    }};
    public static final List<Integer> STA_WORK_CU_CAR_FOUR  = new ArrayList<Integer>() {{
        add(119);add(121);
        add(121);
    }};
    public static final List<Integer> STA_WORK_RU = new ArrayList<Integer>() {{
        add(118);add(119);add(120);add(121);add(122);add(123);
        add(118);add(120);add(121);add(122);add(123);add(171);
    }};
@@ -253,6 +253,7 @@
                        }
                        String origin = null;
                        boolean sign = false;
                        boolean sign101 = false;
                        if (wrkMast.getIoType()!=101){
                            List<WrkDetl> wrkDetls = wrkDetlService.selectByWrkNo(wrkMast.getWrkNo());
                            if (!Cools.isEmpty(wrkDetls) && !wrkDetls.isEmpty()){
@@ -270,6 +271,8 @@
                                log.error("未查询到工作明细");
                                continue;
                            }
                        }else {
                            sign101 = true;
                        }
                        int count = wrkMastStaService.selectCount(new EntityWrapper<WrkMastSta>().eq("sta_start", wrkMastStaNo).or().eq("sta_end", wrkMastStaNo));
                        if (count!=0){
@@ -297,7 +300,7 @@
                            for (Integer staNoOther : STA_WORK_CU_CAR_NOW) {
                                if (staNoOther.equals(wrkMastStaNo)) continue;
                                if (sign){
                                if (sign && !sign101){
                                    if (Cools.isEmpty(origin)){
                                        continue;
                                    }