自动化立体仓库 - WMS系统
#
whycq
2024-06-11 f0c73d72fe7f939be2d3fdf5fc90889971a67fe5
src/main/java/com/zy/asrs/task/AgvWrkMastScheduler.java
@@ -56,11 +56,18 @@
                .or().eq("io_type",12)
                .or().eq("io_type",108)
                .or().eq("io_type",109)
                .or().eq("io_type",111)
                .or().eq("io_type",112)
                .or().eq("io_type",113));
                .or().eq("io_type",113)
                .or().eq("io_type",121)
        );
        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());
                }
            });
        }
    }
@@ -76,7 +83,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());
                }
            });
        }
    }
@@ -93,7 +104,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());
                }
            });
        }
    }
@@ -117,15 +132,16 @@
                .or().eq("io_type", 12)
                .or().eq("io_type", 109)
                .or().eq("io_type", 108)
                .or().eq("io_type", 111)
                .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());
                }
            });
        }
@@ -198,10 +214,9 @@
                    if(!Cools.isEmpty(agvWrkMastWorking)){
                        return;
                    }
                    agvWrkMastHandler.startPutWayWrk(agvWrkMast);
                } catch (IOException e) {
                    log.error(e.getMessage());
                } catch (Exception e) {
                    log.error("搬运,统指出库、移库、点到点搬运等"+e.getMessage());
                }
            });
        }