From 027c1328165a0d37a778ec7f58760bb0fe1ffebb Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期三, 30 七月 2025 17:00:01 +0800 Subject: [PATCH] zjh20250730-1 --- ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml index 50e8ee1..97b81e9 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml @@ -236,7 +236,9 @@ <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> + 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> -- Gitblit v1.8.0