自动化立体仓库 - WMS系统
#
yxFwq
2024-11-19 dbc2514aad6b2b70b08e81f33d45f64aae175ccf
src/main/java/com/zy/asrs/task/WrkMastCrnScheduler.java
@@ -104,12 +104,16 @@
                        .orderBy("io_pri",false));
                for (WrkMast wrkMast:wrkMasts){
                    if (wrkMast.getIoType()==101){
                        BasDevp basDevp = basDevpService.selectById(115);
                        BasDevp basDevp = basDevpService.selectById(119);
                        if (basDevp.getLoading().equals("Y")
                                || !basDevp.getAutoing().equals("Y")
                                || (!Cools.isEmpty(basDevp.getWrkNo()) && basDevp.getWrkNo()!=0) ){
                            continue;
                        }
                        int loadIngCount = basDevpService.selectCount(new EntityWrapper<BasDevp>().ge("dev_no", 103).le("dev_no", 121).eq("loading", "Y"));
                        if (loadIngCount>8){
                            continue;
                        }
                    }
                    try{
                        int row = Utils.getRow(wrkMast.getSourceLocNo());