From c30bf257e682643e3c721b7329597b64a11581af Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期三, 21 八月 2024 10:46:04 +0800
Subject: [PATCH] 档查询出来有多条数据时,加上数量条件,进行匹配,如果数量也匹配不上,就默认返回第一个

---
 src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java
index 3eaaa7a..9c67431 100644
--- a/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java
@@ -84,4 +84,9 @@
     public List<WrkDetl> selectAndLogByOrderNoGroupByMatnrOfSum(String orderNo) {
         return this.baseMapper.selectAndLogByOrderNoGroupByMatnrOfSum(orderNo);
     }
+
+    @Override
+    public boolean updateIoTimeWms(Integer workNo, Date ioTime) {
+        return this.baseMapper.updateIoTimeWms(workNo, ioTime) > 0;
+    }
 }

--
Gitblit v1.9.1