From 4884f2bc65c73ce5c25f8efee0d1f2a27663a57e Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期二, 02 四月 2024 17:16:27 +0800 Subject: [PATCH] zjh 2024/04/02-1 --- 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 2bce7fd..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 = #{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