From 228af2c61a61c9ff32271ecd533cabf52fd1bb1a Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期四, 29 二月 2024 11:37:10 +0800 Subject: [PATCH] 报告打印和预览判断 --- ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml index 180514a..0c18083 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReportMapper.xml @@ -9,6 +9,7 @@ <result property="report" column="report"/> <result property="tjNumber" column="tj_number"/> <result property="path" column="path"/> + <result property="print" column="print"/> </resultMap> <sql id="selectTjReportVo"> @@ -35,11 +36,13 @@ <if test="report != null">report,</if> <if test="tjNumber != null">tj_number,</if> <if test="path != null">path,</if> + <if test="print != null">print,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="report != null">#{report},</if> <if test="tjNumber != null">#{tjNumber},</if> <if test="path != null">#{path},</if> + <if test="print != null">#{print},</if> </trim> </insert> @@ -49,6 +52,7 @@ <if test="report != null">report = #{report},</if> <if test="tjNumber != null">tj_number = #{tjNumber},</if> <if test="path != null">path = #{path},</if> + <if test="print != null">print = #{print},</if> </trim> where re_id = #{reId} </update> @@ -65,4 +69,4 @@ #{reId} </foreach> </delete> -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.8.0