From 4fead4f329c1a855522db7d3dfbcb9b6bba4e040 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 22 十二月 2022 10:19:26 +0800
Subject: [PATCH] fix: 门店管理状态修改
---
ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml | 17 +++++++++++++++++
1 files changed, 17 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..8430765 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -14,4 +14,21 @@
<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_number LIKE CONCAT('%', #{keyword}, '%')
+ </if>
+ <if test="status!=null and status!='' and status!='0' ">
+ and t1.status = #{status}
+ </if>
+ </where>
+ order by t1.id desc
+ </select>
</mapper>
--
Gitblit v1.8.0