From ae35f8d3521741b87835c6122053ec1af449d4ab Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期二, 28 三月 2023 15:34:15 +0800 Subject: [PATCH] 地图数据增加上下左右移动距离 --- 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