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, 2 insertions(+), 0 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
index 50e8ee1..9a891c5 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjProjectMapper.xml
@@ -237,6 +237,8 @@
             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)) </if>
         </where>
 
 

--
Gitblit v1.8.0