自动化立体仓库 - WMS系统
#
tqs
2024-05-31 5e4d17f6a07256743a7708d8a3f5ee63fddbb040
src/main/java/com/zy/asrs/task/AgvWrkMastScheduler.java
@@ -56,10 +56,16 @@
                .or().eq("io_type",12)
                .or().eq("io_type",108)
                .or().eq("io_type",109)
                .or().eq("io_type",112));
                .or().eq("io_type",111)
                .or().eq("io_type",112)
                .or().eq("io_type",113));
        if(!Cools.isEmpty(agvWrkMastList)){
            agvWrkMastList.stream().forEach(agvWrkMast -> {
                agvWrkMastHandler.completedPutWayWrk(agvWrkMast);
                try{
                    agvWrkMastHandler.completedPutWayWrk(agvWrkMast);
                } catch (Exception e){
                    log.error("工作号"+agvWrkMast.getWrkNo()+"定时处理AGV工作档中工作状态为205,处理失败:===》异常原因:"+e.getMessage());
                }
            });
        }
    }
@@ -75,7 +81,11 @@
                .or().eq("io_type",101));
        if(!Cools.isEmpty(agvWrkMastList)){
            agvWrkMastList.stream().forEach(agvWrkMast -> {
                ReturnT<String> returnT = agvWrkMastHandler.completedCarryWrk(agvWrkMast);
                try{
                    agvWrkMastHandler.completedCarryWrk(agvWrkMast);
                } catch (Exception e){
                    log.error("工作号"+agvWrkMast.getWrkNo()+"定时处理AGV工作档中工作状态为206,处理失败:===》异常原因:"+e.getMessage());
                }
            });
        }
    }
@@ -92,7 +102,11 @@
                .or().eq("io_type",101));
        if(!Cools.isEmpty(agvWrkMastList)){
            agvWrkMastList.stream().forEach(agvWrkMast -> {
                ReturnT<String> returnT = agvWrkMastHandler.completedCarryWrk2(agvWrkMast);
                try{
                    agvWrkMastHandler.completedCarryWrk2(agvWrkMast);
                } catch (Exception e){
                    log.error("工作号"+agvWrkMast.getWrkNo()+"定时处理AGV工作档中工作状态为206,处理失败:===》异常原因:"+e.getMessage());
                }
            });
        }
    }
@@ -116,14 +130,15 @@
                .or().eq("io_type", 12)
                .or().eq("io_type", 109)
                .or().eq("io_type", 108)
                .or().eq("io_type", 112)).getRecords();
                .or().eq("io_type", 112)
                .or().eq("io_type", 113)).getRecords();
        if(!Cools.isEmpty(agvWrkMastList)){
            agvWrkMastList.forEach(agvWrkMast -> {
                try {
                try{
                    agvWrkMastHandler.startPutWayWrk(agvWrkMast);
                } catch (IOException e) {
                    log.error(e.getMessage());
                } catch (Exception e){
                    log.error("工作号"+agvWrkMast.getWrkNo()+"定时处理AGV工作档中工作状态为206,处理失败:===》异常原因:"+e.getMessage());
                }
            });
        }
@@ -196,10 +211,9 @@
                    if(!Cools.isEmpty(agvWrkMastWorking)){
                        return;
                    }
                    agvWrkMastHandler.startPutWayWrk(agvWrkMast);
                } catch (IOException e) {
                    log.error(e.getMessage());
                } catch (Exception e) {
                    log.error("搬运,统指出库、移库、点到点搬运等"+e.getMessage());
                }
            });
        }