From ddeaa535350db85a54a041da6a4d74e50877d637 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期二, 04 四月 2023 14:34:02 +0800 Subject: [PATCH] 修复寻路算法路线数据4(站点)无法移动问题 --- src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java index fd56583..b56ed1b 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java @@ -14,10 +14,15 @@ public WrkCharge selectWorking(Integer steNo, WrkChargeType type) { switch (type) { case charge: - return this.baseMapper.selectWorkingOfCharge(steNo); + return this.baseMapper.selectWorkingOfCharge(steNo, null); case reset: return this.baseMapper.selectWorkingOfReset(steNo); } return null; } + + @Override + public WrkCharge selectWorkingOfCharge(Integer charge) { + return this.baseMapper.selectWorkingOfCharge(null, charge); + } } -- Gitblit v1.9.1