From cd6114bf85d19e6bdcd6a17c66f34b8c838870d5 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期三, 16 十月 2024 15:31:23 +0800 Subject: [PATCH] 增加标本代码设置 --- ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml index bc3017d..aeea9d6 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml @@ -20,6 +20,9 @@ <result property="updateBy" column="update_by"/> <result property="updateTime" column="update_time"/> <result property="deleted" column="deleted"/> + <result property="parentId" column="parent_id"/> + <result property="jyxh" column="jyxh"/> + <result property="specimenTypeCode" column="specimen_type_code"/> </resultMap> <sql id="selectTjSamplingVo"> @@ -37,7 +40,10 @@ create_time, update_by, update_time, - deleted + deleted, + parent_id, + jyxh, + specimen_type_code from tj_sampling </sql> @@ -113,6 +119,12 @@ </if> <if test="deleted != null">deleted, </if> + <if test="parentId != null">parent_id, + </if> + <if test="jyxh != null">jyxh, + </if> + <if test="specimenTypeCode != null">specimen_type_code, + </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id}, @@ -144,6 +156,12 @@ <if test="updateTime != null">#{updateTime}, </if> <if test="deleted != null">#{deleted}, + </if> + <if test="parentId != null">#{parentId}, + </if> + <if test="jyxh != null">#{jyxh}, + </if> + <if test="specimenTypeCode != null">#{specimenTypeCode}, </if> </trim> </insert> @@ -192,6 +210,15 @@ <if test="deleted != null">deleted = #{deleted}, </if> + <if test="parentId != null">parent_id = + #{parentId}, + </if> + <if test="jyxh != null">jyxh = + #{jyxh}, + </if> + <if test="specimenTypeCode != null">specimen_type_code = + #{specimenTypeCode}, + </if> </trim> where id = #{id} </update> @@ -208,4 +235,4 @@ #{id} </foreach> </delete> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.8.0