|
|
|
@@ -16,7 +16,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`name`,`remarks`,`preview_url`,`status`,`create_date`,`update_date` |
|
|
|
`id`,`tenant_id`,`name`,`remarks`,`preview_url`,`type`,`create_date`,`update_date` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -79,7 +79,7 @@ |
|
|
|
FROM wx_miniapp_theme_deploy mtd |
|
|
|
left join wx_miniapp_theme_value mtv on mtv.miniapp_deploy_id = mtd.id |
|
|
|
left join wx_theme_mall tm on tm.theme_id = mtv.miniapp_theme_id and tm.theme_type = mtd.theme_type |
|
|
|
left join wx_miniapp_theme mt on tm.id = tm.theme_id |
|
|
|
left join wx_miniapp_theme mt on mt.id = tm.theme_id |
|
|
|
where mtd.theme_type = #{themeType} and mt.del_status = 0 and tm.tenant_id = #{tenantId} |
|
|
|
</select> |
|
|
|
|
|
|
|
|