From 14ecea8537d5b29ca64c75aad4ff49265018415d Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期三, 02 七月 2025 08:51:22 +0800 Subject: [PATCH] zjh20250702 --- ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml index b777a9a..5daa217 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml @@ -176,6 +176,7 @@ where pro_id = #{proId} </update> + <delete id="deleteTjProjectByProId" parameterType="Long"> delete from tj_project @@ -215,4 +216,31 @@ #{total,mode=OUT,jdbcType=INTEGER} )} </select> + <select id="zdysqlcx" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> + {call tj_zdysqlcx( + #{aaa,mode=IN,jdbcType=VARCHAR} + )} + + </select> + <select id="zdysqlxg" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.util.Map"> + {call tj_zdysqlxg( + #{aaa,mode=IN,jdbcType=VARCHAR} + )} + </select> + <select id="getLisViewList" resultType="java.util.Map"> + SELECT * FROM `v_examitem` + </select> + + <select id="getOpenDxTjProjectList" parameterType="string" resultType="com.ltkj.hosp.domain.TjProject"> + SELECT * FROM `tj_project` + <where> + pro_parent_id=0 and pro_status=0 and deleted=0 + <if test="nr != null ">and (pro_name like concat('%', #{nr}, '%') + or pro_eng_name like concat('%', #{nr}, '%'))</if> + <if test="null !=xb and xb !='' "> + and pro_sex=#{xb} and isnull(pro_sex) </if> + </where> + + + </select> </mapper> -- Gitblit v1.8.0