From 63749d4f234c00ff9561969bf7f4006dbe53d4af Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Thu, 7 Nov 2019 14:39:47 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=9B=86=E5=9B=A2=E7=89=88][=E6=96=B0?= =?UTF-8?q?=E5=A2=9E]:float=20layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/WxFloatingLayerMapper.xml | 187 +++++++++--------- 1 file changed, 91 insertions(+), 96 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxFloatingLayerMapper.xml b/mallinkService/src/main/resources/mapper/WxFloatingLayerMapper.xml index 795128634..5e2bde016 100644 --- a/mallinkService/src/main/resources/mapper/WxFloatingLayerMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxFloatingLayerMapper.xml @@ -1,107 +1,102 @@ - - - - - - - - - - - - - - - `id`, `tenant_id` , `sub_tenant_id`, `cover_img` , `produce_id`, `page_path` , `status`, `create_time`, `update_time` - - - - where 1 = 1 - - - and `id` = #{id} - - - - and `tenant_id` = #{tenantId} - - - - and `sub_tenant_id` = #{subTenantId} - - - - and `status` = #{status} - - - - and id in - - #{idItem} - - - order by ${sortColumns} + + + + + + + + + + + + + + `id`, `tenant_id` , `cover_img` , `produce_id`, `page_path` , `status`, `create_time`, `update_time` - - + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and `status` = #{status} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + fl.`id` as id, fl.`tenant_id` , fl.`cover_img` , fl.`produce_id`, fl.`page_path` , fl.`status`, fl.`create_time` as create_time, fl.`update_time`, cc.title - - - - - - - - - - - - - - - - - where 1=1 - - and fl.`id` = #{id} - - - - and fl.`tenant_id` = #{tenantId} - - - - and fl.`status` = #{status} - - - - and fl.id in - - #{idItem} - - - order by ${sortColumns} - - - - - + + + + + + + + + + + + + + + + + where 1=1 + + and fl.`id` = #{id} + + + + and fl.`tenant_id` = #{tenantId} + + + + and fl.`status` = #{status} + + + + and fl.id in + + #{idItem} + + + order by ${sortColumns} + + + + + update wx_floating_layer set status=1 where produce_id=#{value}