@@ -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}