Pārlūkot izejas kodu

'优化移动端-登录页-样式配置查询接口界面登录页渲染'

james 2 gadi atpakaļ
vecāks
revīzija
6d89370476

+ 3 - 2
base-modules/service-system/service-system-biz/src/main/resources/mapper/system/SysMobileTenantConfigMapper.xml

@@ -24,10 +24,11 @@
 
     <select id="getAppTenantConfig" resultMap="BaseResultMap">
         select
-        b.*
+        b.id, a.id AS tenant_id, b.login_domain, b.login_title, b.login_logo, b.login_back_url, b.login_footer, b.login_type, b.middle_url, b.home_logo, b.home_layout,
+        b.home_style, b.create_by, b.create_time, b.update_by, b.update_time
         from
         sys_tenant AS a
-        JOIN sys_mobile_tenant_config AS b ON a.id = b.tenant_id
+        LEFT JOIN sys_mobile_tenant_config AS b ON a.id = b.tenant_id
         <where>
             a.status = 0
             and a.domain = #{url}