From e7211274dde4b671afe98394f5ec14148b7b48eb Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期一, 07 四月 2025 15:11:55 +0800
Subject: [PATCH] 成品下单检验项目人员分配

---
 inspect-server/src/main/resources/mapper/InsProductMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsProductMapper.xml b/inspect-server/src/main/resources/mapper/InsProductMapper.xml
index 908cc0e..b2e6807 100644
--- a/inspect-server/src/main/resources/mapper/InsProductMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsProductMapper.xml
@@ -149,4 +149,12 @@
                  left join ins_sample is2 on is2.id = ip.ins_sample_id
         where is2.ins_order_id = #{orderId}
     </select>
+
+    <update id="batchUpdateInsProductCheckUserId">
+        UPDATE ins_product SET check_user_id = #{checkUserId}
+        WHERE ID IN
+        <foreach collection="insProductIds" open="(" close=")" item="item" separator=",">
+            #{item}
+        </foreach>
+    </update>
 </mapper>

--
Gitblit v1.9.3