From 0d0e4d01652499b722d655f3bd0e64a6b0bf6359 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期三, 09 七月 2025 15:21:31 +0800 Subject: [PATCH] zjh20250709 --- 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