From c555c3d20cfc020bf9cece3146ea32bcc59950f1 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 12 十二月 2022 13:39:26 +0800
Subject: [PATCH] fix: 部门修改状态

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

diff --git a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
index 1c956d7..1142b20 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -17,16 +17,17 @@
     <select id="selectStorePage" resultType="com.ycl.vo.store.StoreInfoVO">
         SELECT
             t1.*,
-            t2.`name` as typeName,
-            t3.*
+            t2.`name` as typeName
         FROM
             ums_store_store_info t1
             left JOIN ums_data_dictionary t2 ON t1.type = t2.id
-            left JOIN ums_video_point t3 ON t1.video_id = t3.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>

--
Gitblit v1.8.0