From bf28baa00838879c15a22decf314b6e76eb6e89b Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期四, 11 四月 2024 13:59:44 +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..63a867b 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.selectWorking(shuttleNo);
+    }
+
+    @Override
+    public WrkCharge selectWorkingOfCharge(Integer charge) {
+        return this.baseMapper.selectWorkingOfCharge(charge);
     }
 }

--
Gitblit v1.9.1