From f2162e182405184e14bfa8d628150ccc49318fc3 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期一, 19 五月 2025 17:11:54 +0800
Subject: [PATCH] 总检页面增加体检类型搜索调整了存储过程

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

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
index 7754f2e..3be2152 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
@@ -62,14 +62,13 @@
                             and xmbm = #{xmbm}
                         </if>
                         <if test="xmmc != null  and xmmc != ''">
---                             and xmmc like "%"#{xmmc}"%"
                             and xmmc like CONCAT("%",#{xmmc},"%")
                         </if>
                         <if test="pym != null  and pym != ''">
-                            and pym like "%"#{pym}"%"
+                            and pym like CONCAT("%",#{pym},"%")
                         </if>
                         <if test="wbm != null  and wbm != ''">
-                            and wbm like "%"#{wbm}"%"
+                            and wbm like CONCAT("%",#{wbm},"%")
                         </if>
                         <if test="zjm != null  and zjm != ''">
                             and zjm = #{zjm}

--
Gitblit v1.8.0