From 5ff9c08cde80c002631709020d2dccd6090b2053 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 21 十月 2022 18:16:27 +0800
Subject: [PATCH] 日志名称乱码 处置案件图片添加 店铺管理添查询

---
 ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
index e4d975d..074510f 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -14,4 +14,17 @@
         <result column="storescore" property="storescore"/>
     </resultMap>
 
+    <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO">
+        SELECT
+            t1.*,
+            t2.`name`
+        FROM
+            ums_store_store_info t1
+                JOIN ums_data_dictionary t2 ON t1.type = t2.id
+        <where>
+            <if test="keyword!=null and keyword!=''">
+                t1.store_name LIKE  CONCAT('%', #{keyword}, '%')
+            </if>
+        </where>
+    </select>
 </mapper>

--
Gitblit v1.8.0