From a0dde8aa21d8bc2b55ccbb2278fc730f75f7ef8b Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期五, 18 七月 2025 08:55:13 +0800 Subject: [PATCH] zjh20250718 --- ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml index 66c79c0..7095993 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml @@ -230,4 +230,17 @@ <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} or isnull(pro_sex) or pro_sex=2 ) </if> + </where> + + + </select> </mapper> -- Gitblit v1.8.0