`id`,`tenant_id`,`parent_tenant_id`,`mall_id`,`building_id`,`floor_name`,`background_img`,`create_date`,`update_date`,`total_area`,`operating_area`,`floor_map`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `mall_id` = #{mallId}
and `building_id` = #{buildingId}
and `floor_name` like concat('%', #{floorName},'%')
and `background_img` like concat('%', #{backgroundImg},'%')
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and id in
#{idItem}
order by ${sortColumns}
delete from wx_mall_floor where building_id = #{buildingId}
delete from wx_mall_floor where `tenant_id` = #{tenantId}