From b70ea28f51757ed39992d5a71b2e15b1d4cc7c7d Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 27 十一月 2025 16:21:45 +0800
Subject: [PATCH] xml中筛选条件匹配方法修改

---
 north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
index 7490e80..37094ab 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -1064,7 +1064,7 @@
             and o.order_id regexp #{reportingWork.orderId}
         </if>
         <if test="reportingWork.processId != null and reportingWork.processId != ''">
-            and rw.process_id regexp #{reportingWork.processId}
+            and CONCAT(rw.process_id,'/',rwd.goup) LIKE CONCAT('%', #{reportingWork.processId}, '%')
         </if>
         <if test="reportingWork.order.project != null and reportingWork.order.project != ''">
             and o.project regexp #{reportingWork.order.project}
@@ -1079,7 +1079,7 @@
             and rw.device_name regexp #{reportingWork.deviceName}
         </if>
         <if test="reportingWork.teamsGroupsName != null and reportingWork.teamsGroupsName != ''">
-            and rw.teams_groups_name regexp #{reportingWork.teamsGroupsName}
+            and rw.teams_groups_name like concat('%', #{reportingWork.teamsGroupsName}, '%')
         </if>
     </select>
 

--
Gitblit v1.8.0