From 6b74e7a581a89d59e3e61e1b57a4570a3d031bc5 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期四, 05 六月 2025 16:25:44 +0800
Subject: [PATCH] 报告数据接口增加返回检查综述和医师建议

---
 ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 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..76813a6 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -26,6 +26,10 @@
         <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"/>
+        <result property="isPay" column="is_pay"/>
+        <result property="isApply" column="is_apply"/>
     </resultMap>
 
     <sql id="selectTjSamplingVo">
@@ -49,7 +53,9 @@
                specimen_type_code,
                is_merge,
                jyxmdm,
-               jxbz
+               jxbz,
+               create_id,
+               update_id
         from tj_sampling
     </sql>
 
@@ -137,6 +143,14 @@
             </if>
             <if test="jxbz != null">jxbz,
             </if>
+            <if test="createId != null">create_id,
+            </if>
+            <if test="updateId != null">update_id,
+            </if>
+            <if test="isPay != null">is_pay,
+            </if>
+            <if test="isApply != null">is_apply,
+            </if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},
@@ -180,6 +194,14 @@
             <if test="jyxmdm != null">#{jyxmdm},
             </if>
             <if test="jxbz != null">#{jxbz},
+            </if>
+            <if test="createId != null">#{createId},
+            </if>
+            <if test="updateId != null">#{updateId},
+            </if>
+            <if test="isPay != null">#{isPay},
+            </if>
+            <if test="isApply != null">#{isApply},
             </if>
         </trim>
     </insert>
@@ -246,6 +268,14 @@
             <if test="jxbz != null">jxbz =
                 #{jxbz},
             </if>
+            <if test="createId != null">create_id = #{createId},
+            </if>
+            <if test="updateId != null">update_id = #{updateId},
+            </if>
+            <if test="isPay != null">is_pay = #{isPay},
+            </if>
+            <if test="isApply != null">is_apply = #{isApply},
+            </if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.8.0