From 9c9547f024bafaca402eb427ea046fd67511bc05 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 17 六月 2023 16:53:05 +0800
Subject: [PATCH] #自动完成工作档时更新拣货单数量、状态

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

diff --git a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
index 1e9f89b..2872ba5 100644
--- a/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OrderServiceImpl.java
@@ -202,4 +202,10 @@
         updateSettle(orderId,settle,1L);
     }
 
+    @Override
+    public List<Order> selectToBeHistoryOrder(boolean isERP) {
+        int settle = isERP ? 6 : 4;
+        return this.baseMapper.selectToBeHistoryOrder(settle);
+    }
+
 }

--
Gitblit v1.9.1