src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java
@@ -319,6 +319,25 @@ } } //搜索是否存在前往目标楼层的小车移动工作档 for (WrkMast wrkMast : wrkMastMapper.selectShuttleMoveWrk()) { if (wrkMast.getSourceLocNo() == null || wrkMast.getLocNo() == null) { continue; } int sourceLev = Utils.getLev(wrkMast.getSourceLocNo());//工作档源楼层 int targetLev = Utils.getLev(wrkMast.getLocNo());//工作档目标楼层 if (sourceLev == lev) { continue;//工作档楼层和目标楼层相同,跳过 } if (targetLev == lev) { levCount++;//工作档目标楼层和实际楼层相同,数量增加 continue; } } return levCount < Integer.parseInt(config.getValue()); }