From 97cd53a574602b3eb4320a6e63105f604eb03f85 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 17 十二月 2025 09:02:12 +0800
Subject: [PATCH] 修改新增

---
 multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml b/multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml
index a45de81..476f3ca 100644
--- a/multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/ProcessInspectionMapper.xml
@@ -14,7 +14,8 @@
             pi.`create_by`,
             pi.`create_time`,
             pi.`update_by`,
-            pi.`update_time`
+            pi.`update_time`,
+            pi.item_id
         FROM
             `process_inspection` pi
                 LEFT JOIN sys_company sc ON pi.company_id = sc.id
@@ -26,6 +27,9 @@
         <if test="templateType!=null">
             and pi.type = #{templateType}
         </if>
+        <if test="itemId!=null">
+            and pi.item_id = #{itemId}
+        </if>
 
     </select>
 </mapper>

--
Gitblit v1.9.2