From 98739187cf9351e01f7673e9690e96930562b723 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期一, 07 七月 2025 18:09:52 +0800
Subject: [PATCH] zjh20250707

---
 ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
index 5daa217..9a891c5 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
@@ -238,7 +238,7 @@
             <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>
+                 and (pro_sex=#{xb} or isnull(pro_sex)) </if>
         </where>
 
 

--
Gitblit v1.8.0