From 43c075fd360101f6e9e48a1d7e4943949a55c490 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 03 六月 2026 14:24:08 +0800
Subject: [PATCH] 生产报工,报工人员筛选班组

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

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 21ad83c..df33e70 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -37,8 +37,8 @@
         left join sales_ledger sl on sl.id = po.sales_ledger_id
         left join sys_user u on u.user_id = ppm.user_id
         <where>
-            <if test="c.nickName != null and c.nickName != ''">
-                and u.nick_name like concat('%',#{c.nickName},'%')
+            <if test="c.teamNames != null and c.teamNames != ''">
+                and ppm.team_names like concat('%',#{c.teamNames},'%')
             </if>
             <if test="c.workOrderNo != null and c.workOrderNo != ''">
                 and pwo.work_order_no like concat('%',#{c.workOrderNo},'%')
@@ -134,4 +134,4 @@
             #{id}
         </foreach>
     </delete>
-</mapper>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3