From 189936d6735ceb02b6030fd274817fce0c228c10 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 07 八月 2023 08:32:14 +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