From bb9ddb1da8ebc47739cdf466157af238e4361db9 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 28 十月 2022 18:05:38 +0800
Subject: [PATCH] 修改细节

---
 ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml |    4 ++--
 1 files changed, 2 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..d253955 100644
--- a/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/store/UmsStoreInfoMapper.xml
@@ -17,10 +17,10 @@
     <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}, '%')

--
Gitblit v1.8.0