From b03b30f475f3f4da7f0136fc562ac71d6821ebf4 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期五, 04 八月 2023 18:13:48 +0800 Subject: [PATCH] 管理后台的优惠券添加功能的门店添加 --- 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