From 12c5944737557edc4e2de557992efa18adc02266 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 17 十月 2024 11:28:14 +0800 Subject: [PATCH] 增加补录标志字段 --- 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 dd74835..8b7c749 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml @@ -24,6 +24,8 @@ <result property="jyxh" column="jyxh"/> <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"> @@ -45,7 +47,9 @@ parent_id, jyxh, specimen_type_code, - is_merge + is_merge, + jyxmdm, + jxbz from tj_sampling </sql> @@ -129,6 +133,10 @@ </if> <if test="isMerge != null">is_merge, </if> + <if test="jyxmdm != null">jyxmdm, + </if> + <if test="jxbz != null">jxbz, + </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id}, @@ -168,6 +176,10 @@ <if test="specimenTypeCode != null">#{specimenTypeCode}, </if> <if test="isMerge != null">#{isMerge}, + </if> + <if test="jyxmdm != null">#{jyxmdm}, + </if> + <if test="jxbz != null">#{jxbz}, </if> </trim> </insert> @@ -228,6 +240,12 @@ <if test="isMerge != null">is_merge = #{isMerge}, </if> + <if test="isMerge != null">jyxmdm = + #{jyxmdm}, + </if> + <if test="jxbz != null">jxbz = + #{jxbz}, + </if> </trim> where id = #{id} </update> -- Gitblit v1.8.0