From 104e1d46fb86cb5b5a1aa3cbd8934b15c43fa206 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期五, 25 十一月 2022 17:32:52 +0800
Subject: [PATCH] 修改实体类StoreInfo
---
ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 14 ++++++++++++++
1 files changed, 14 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..abc4a0c 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -14,4 +14,18 @@
<result column="storescore" property="storescore"/>
</resultMap>
+ <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO">
+ SELECT
+ t1.*,
+ t2.`name` as typeName
+ FROM
+ ums_store_store_info t1
+ left 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>
+ order by t1.id desc
+ </select>
</mapper>
--
Gitblit v1.8.0