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}