From 6b74e7a581a89d59e3e61e1b57a4570a3d031bc5 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期四, 05 六月 2025 16:25:44 +0800
Subject: [PATCH] 报告数据接口增加返回检查综述和医师建议

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

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
index dbdd846..3be2152 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/DictSfxmMapper.xml
@@ -62,13 +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}
@@ -436,4 +436,4 @@
             #{id}
         </foreach>
     </delete>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.8.0