From 91b430242c65f742ac06313bff34b6d9ec97ce50 Mon Sep 17 00:00:00 2001
From: 赵文轩 <1652863494@qq.com>
Date: 星期二, 29 十月 2024 11:43:53 +0800
Subject: [PATCH] 错误收费金额修改
---
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 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 85c2727..786f93f 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -25,6 +25,7 @@
<result property="specimenTypeCode" column="specimen_type_code"/>
<result property="isMerge" column="is_merge"/>
<result property="jyxmdm" column="jyxmdm"/>
+ <result property="jxbz" column="jxbz"/>
</resultMap>
<sql id="selectTjSamplingVo">
@@ -47,7 +48,8 @@
jyxh,
specimen_type_code,
is_merge,
- jyxmdm
+ jyxmdm,
+ jxbz
from tj_sampling
</sql>
@@ -133,6 +135,8 @@
</if>
<if test="jyxmdm != null">jyxmdm,
</if>
+ <if test="jxbz != null">jxbz,
+ </if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},
@@ -174,6 +178,8 @@
<if test="isMerge != null">#{isMerge},
</if>
<if test="jyxmdm != null">#{jyxmdm},
+ </if>
+ <if test="jxbz != null">#{jxbz},
</if>
</trim>
</insert>
@@ -237,6 +243,9 @@
<if test="isMerge != null">jyxmdm =
#{jyxmdm},
</if>
+ <if test="jxbz != null">jxbz =
+ #{jxbz},
+ </if>
</trim>
where id = #{id}
</update>
@@ -253,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