From c441ee63996286f6e6bd92ecd51dbf2239d2d8ef Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 29 十一月 2022 16:38:43 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server

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

diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
index d253955..1142b20 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -20,11 +20,15 @@
             t2.`name` as typeName
         FROM
             ums_store_store_info t1
-               left JOIN ums_data_dictionary t2 ON t1.type = t2.id
+            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>
+            <if test="status!=null and status!='' and status!='0' ">
+                t1.status = #{status}
+            </if>
         </where>
+        order by t1.id desc
     </select>
 </mapper>

--
Gitblit v1.8.0