From f5ca8f01cf6b8256a25e8c6838d805fe3fca43fc Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 07 八月 2023 11:34:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/resources/mapper/TStoreMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml index 0dd0a94..2db3c8d 100644 --- a/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml +++ b/cloud-server-management/src/main/resources/mapper/TStoreMapper.xml @@ -42,7 +42,7 @@ ) as aa order by aa.code </select> <select id="queryListOfpage" resultType="java.util.Map"> - SELECT id, cityManagerId, province, city, `name` + SELECT `id`, `cityManagerId`, `province`, `city`, `name` from t_store where 1=1 <if test="provinceCode != null"> @@ -54,7 +54,7 @@ <if test="cityManagerId != null"> and cityManagerId = #{cityManagerId} </if> - <if test="storeName != null and storeName != ' '"> + <if test="storeName != null and storeName != ''"> and `name` like CONCAT('%',#{storeName},'%') </if> </select> -- Gitblit v1.7.1