From f6016a3538031b4c8b058cd04bd1ab7b7b425933 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 28 十一月 2022 13:51:10 +0800
Subject: [PATCH] fix: 驳回后重新处置和有效栏目

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

diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
index 074510f..abc4a0c 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -17,14 +17,15 @@
     <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO">
         SELECT
             t1.*,
-            t2.`name`
+            t2.`name` as typeName
         FROM
             ums_store_store_info t1
-                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>
         </where>
+        order by t1.id desc
     </select>
 </mapper>

--
Gitblit v1.8.0