From e6eb8c14f98921ba73a7efdfc1415c6483dc4112 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期五, 18 七月 2025 14:34:46 +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 9a891c5..7095993 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} or isnull(pro_sex)) </if> + and (pro_sex=#{xb} or isnull(pro_sex) or pro_sex=2 ) </if> </where> -- Gitblit v1.8.0