From f484982b5332b2421b8f009d99a01795bbc810f8 Mon Sep 17 00:00:00 2001 From: xhxu Date: Fri, 27 Nov 2020 10:16:48 +0800 Subject: [PATCH] bug --- .../src/main/resources/mapper/WxMiniappThemeMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxMiniappThemeMapper.xml b/mallinkService/src/main/resources/mapper/WxMiniappThemeMapper.xml index 3b61d17f7..52ec56678 100644 --- a/mallinkService/src/main/resources/mapper/WxMiniappThemeMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMiniappThemeMapper.xml @@ -16,7 +16,7 @@ - `id`,`tenant_id`,`name`,`remarks`,`preview_url`,`status`,`create_date`,`update_date` + `id`,`tenant_id`,`name`,`remarks`,`preview_url`,`type`,`create_date`,`update_date` @@ -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}