From 1ba0dbfde5634c8bf2ec20891d6b226b996f6b59 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 02 九月 2026 14:24:38 +0800
Subject: [PATCH] refactor(mes): 优化MES生产扫码入库功能支持多类型扫码
---
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/home/MesBagCodeHomeStatisticsServiceImpl.java | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/home/MesBagCodeHomeStatisticsServiceImpl.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/home/MesBagCodeHomeStatisticsServiceImpl.java
index 4a14ca7..0282554 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/home/MesBagCodeHomeStatisticsServiceImpl.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/home/MesBagCodeHomeStatisticsServiceImpl.java
@@ -42,7 +42,16 @@
summary.setBagCodeCount(getCount(homeStatisticsMapper.selectBagCodeCount()));
summary.setPalletCount(getCount(homeStatisticsMapper.selectPalletCount()));
- // 3. 鐘舵�佸垎甯�
+ // 3. 鍑哄簱娴侀��
+ summary.setSalesNoticeCount(getCount(homeStatisticsMapper.selectSalesNoticeCount()));
+ summary.setProductSalesCount(getCount(homeStatisticsMapper.selectProductSalesCount()));
+ summary.setReturnSalesCount(getCount(homeStatisticsMapper.selectReturnSalesCount()));
+
+ // 4. 浠撳偍棰勮 / 璐ㄩ噺
+ summary.setStockWarningPendingCount(getCount(homeStatisticsMapper.selectStockWarningPendingCount()));
+ summary.setNcrPendingCount(getCount(homeStatisticsMapper.selectNcrPendingCount()));
+
+ // 5. 鐘舵�佸垎甯�
summary.setBatchStatusList(toStatusList(homeStatisticsMapper.selectBatchCountGroupByStatus()));
summary.setBagCodeStatusList(toStatusList(homeStatisticsMapper.selectBagCodeCountGroupByStatus()));
--
Gitblit v1.9.3