From 36c9e65d4ee80e7dfc4b948d5ed054049500c274 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期一, 07 七月 2025 18:15:06 +0800
Subject: [PATCH] 修改版本错误导致报错的问题

---
 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