From 55d6a7407d448efd271b16e9947e830bdb5aabdc Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期三, 16 十月 2024 17:23:17 +0800
Subject: [PATCH] 根据tjNum和parentProId查询总价

---
 ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml |   20 +++++++++++++++++++-
 1 files changed, 19 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 a45b08d..dd74835 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -22,6 +22,8 @@
         <result property="deleted" column="deleted"/>
         <result property="parentId" column="parent_id"/>
         <result property="jyxh" column="jyxh"/>
+        <result property="specimenTypeCode" column="specimen_type_code"/>
+        <result property="isMerge" column="is_merge"/>
     </resultMap>
 
     <sql id="selectTjSamplingVo">
@@ -41,7 +43,9 @@
                update_time,
                deleted,
                parent_id,
-               jyxh
+               jyxh,
+               specimen_type_code,
+               is_merge
         from tj_sampling
     </sql>
 
@@ -121,6 +125,10 @@
             </if>
             <if test="jyxh != null">jyxh,
             </if>
+            <if test="specimenTypeCode != null">specimen_type_code,
+            </if>
+            <if test="isMerge != null">is_merge,
+            </if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},
@@ -156,6 +164,10 @@
             <if test="parentId != null">#{parentId},
             </if>
             <if test="jyxh != null">#{jyxh},
+            </if>
+            <if test="specimenTypeCode != null">#{specimenTypeCode},
+            </if>
+            <if test="isMerge != null">#{isMerge},
             </if>
         </trim>
     </insert>
@@ -210,6 +222,12 @@
             <if test="jyxh != null">jyxh =
                 #{jyxh},
             </if>
+            <if test="specimenTypeCode != null">specimen_type_code =
+                #{specimenTypeCode},
+            </if>
+            <if test="isMerge != null">is_merge =
+                #{isMerge},
+            </if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.8.0