From 7c7c26161435045bf3449a4e4436084eb2ee9d33 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 13 七月 2023 14:49:25 +0800 Subject: [PATCH] #提升机数据更新 --- src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 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 5ce66bd..6019518 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkChargeServiceImpl.java @@ -10,13 +10,12 @@ public class WrkChargeServiceImpl extends ServiceImpl<WrkChargeMapper, WrkCharge> implements WrkChargeService { @Override - public WrkCharge selectWorking(Integer steNo, String memo) { - switch (memo) { - case "charge": - return this.baseMapper.selectWorkingOfCharge(steNo); - case "reset": - return this.baseMapper.selectWorkingOfReset(steNo); - } - return null; + public WrkCharge selectWorking(Integer shuttleNo) { + return this.baseMapper.selectWorkingOfCharge(shuttleNo); + } + + @Override + public WrkCharge selectWorkingOfCharge(Integer charge) { + return this.baseMapper.selectWorkingOfCharge(charge); } } -- Gitblit v1.9.1