#
luxiaotao1123
2024-10-23 7a68bbe9a032df8c54b2263be097002e01383bce
#
2个文件已修改
10 ■■■■ 已修改文件
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/MainService.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/ValidService.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/MainService.java
@@ -207,7 +207,7 @@
                bus.setBusSts(BusStsType.PROGRESS.val());
                bus.setUpdateTime(now);
                if (!busService.updateById(bus)) {
                    log.error("Bus [{}] 更新失败 !!!", bus.getUuid());
                    log.error("Bus [{}] failed to Update !!!", bus.getUuid());
                }
                return;
            }
@@ -217,7 +217,7 @@
            for (Task task : taskList) {
                Agv agv = missionAssignService.execute(task, taskAllot, taskIds);
                if (null == agv) {
                    log.warn("{}任务异常,无法检索空闲Agv...", task.getSeqNum());
                    log.warn("Task[{}] has an issue, because it failed to checkout agv which is idle...", task.getSeqNum());
                    continue;
                }
@@ -227,7 +227,7 @@
                task.setIoTime(now);
                task.setUpdateTime(now);
                if (!taskService.updateById(task)) {
                    throw new BusinessException(task.getSeqNum() + "任务更新失败");
                    throw new BusinessException("seqNum: " + task.getSeqNum() + " failed to update");
                }
                if (taskAllot.containsKey(agv.getUuid())) {
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/ValidService.java
@@ -182,10 +182,10 @@
                    startCode = codeService.getById(oriSta.getCode());
                    endCode = codeService.getById(destSta.getCode());
                    if (null == startCode) {
                        throw new BusinessException("oriSta:" + oriSta.getStaNo() + " 未绑定地面码");
                        throw new BusinessException("oriSta:" + oriSta.getStaNo() + " hasn't been bound to a QrCode yet");
                    }
                    if (null == endCode) {
                        throw new BusinessException("destSta:" + destSta.getStaNo() + " 未绑定地面码");
                        throw new BusinessException("destSta:" + destSta.getStaNo() + " is not bound to a QrCode yet");
                    }
                    pathList = mapService.validFeasibility(startCode, endCode);
                    if (Cools.isEmpty(pathList)) {