From fa174c75d8b3a9c88e86a075162a36710a739e90 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期六, 17 六月 2023 09:42:45 +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