From 06ef175a1e9f72b3863757319b2f6ff76c5a2f05 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期二, 03 十二月 2024 09:16:55 +0800
Subject: [PATCH] zjh20241202-3

---
 ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
index 8b7c749..786f93f 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -262,4 +262,22 @@
             #{id}
         </foreach>
     </delete>
+
+
+    <update id="updateHeBingXm" parameterType="java.util.Map">
+        UPDATE tj_sampling a SET a.parent_id=#{parentId} WHERE a.id in
+        <foreach item="id" collection="ids" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+
+
+    <update id="updateHeBingXms" parameterType="java.util.Map">
+        UPDATE tj_sampling a SET a.parent_id=null WHERE a.parent_id in
+        <foreach item="id" collection="ids" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+
+
 </mapper>

--
Gitblit v1.8.0