From 0a94a7173b5707beb4bfcf1ecdbfd788baad8e5d Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 13 四月 2026 16:14:17 +0800
Subject: [PATCH] fix: 采购退货dto缺失部门id集合

---
 src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml b/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
index d9ddde7..8a32b42 100644
--- a/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
+++ b/src/main/resources/mapper/production/SalesLedgerProductionAccountingMapper.xml
@@ -84,8 +84,7 @@
             </if>
 
         </where>
-        GROUP BY slpa.scheduling_user_name
-
+        GROUP BY slpa.scheduling_user_id, slpa.scheduling_user_name
     </select>
 
     <select id="selectDailyWagesStats" resultType="java.util.Map">

--
Gitblit v1.9.3