From 53fd938642819ae69b1980126aa456d9a6cfd430 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期四, 02 一月 2025 11:44:15 +0800
Subject: [PATCH] 20250102

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

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
index 786f93f..4d5f10f 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -26,6 +26,8 @@
         <result property="isMerge" column="is_merge"/>
         <result property="jyxmdm" column="jyxmdm"/>
         <result property="jxbz" column="jxbz"/>
+        <result property="createId" column="create_id"/>
+        <result property="updateId" column="update_id"/>
     </resultMap>
 
     <sql id="selectTjSamplingVo">
@@ -49,7 +51,9 @@
                specimen_type_code,
                is_merge,
                jyxmdm,
-               jxbz
+               jxbz,
+               create_id,
+               update_id
         from tj_sampling
     </sql>
 
@@ -137,6 +141,10 @@
             </if>
             <if test="jxbz != null">jxbz,
             </if>
+            <if test="createId != null">create_id,
+            </if>
+            <if test="updateId != null">update_id,
+            </if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},
@@ -180,6 +188,10 @@
             <if test="jyxmdm != null">#{jyxmdm},
             </if>
             <if test="jxbz != null">#{jxbz},
+            </if>
+            <if test="createId != null">#{createId},
+            </if>
+            <if test="updateId != null">#{updateId},
             </if>
         </trim>
     </insert>
@@ -246,6 +258,10 @@
             <if test="jxbz != null">jxbz =
                 #{jxbz},
             </if>
+            <if test="createId != null">create_id = #{createId},
+            </if>
+            <if test="updateId != null">update_id = #{updateId},
+            </if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.8.0