From d536b588ff3a76b7f7074580feb56bee9915dc38 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期三, 16 十月 2024 17:23:33 +0800 Subject: [PATCH] 增加lis项目代码字段 --- ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml | 11 ++++++++++- 1 files changed, 10 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..85c2727 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml @@ -24,6 +24,7 @@ <result property="jyxh" column="jyxh"/> <result property="specimenTypeCode" column="specimen_type_code"/> <result property="isMerge" column="is_merge"/> + <result property="jyxmdm" column="jyxmdm"/> </resultMap> <sql id="selectTjSamplingVo"> @@ -45,7 +46,8 @@ parent_id, jyxh, specimen_type_code, - is_merge + is_merge, + jyxmdm from tj_sampling </sql> @@ -129,6 +131,8 @@ </if> <if test="isMerge != null">is_merge, </if> + <if test="jyxmdm != null">jyxmdm, + </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id}, @@ -168,6 +172,8 @@ <if test="specimenTypeCode != null">#{specimenTypeCode}, </if> <if test="isMerge != null">#{isMerge}, + </if> + <if test="jyxmdm != null">#{jyxmdm}, </if> </trim> </insert> @@ -228,6 +234,9 @@ <if test="isMerge != null">is_merge = #{isMerge}, </if> + <if test="isMerge != null">jyxmdm = + #{jyxmdm}, + </if> </trim> where id = #{id} </update> -- Gitblit v1.8.0