`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`cur_number`,`pre_number`,`pre_time`,`pre_by`,`pre_by_name`,`start_time`,`end_time`,`create_by`,`create_by_name`,
`update_by`,`update_by_name`,`remark`,`time_id`,`meter_id`,`meter_type`,`meter_rate`,`is_public`,`meter_name`,`shop_id`,`shop_number`,`building_id`,`floor_id`,`price`,`is_del`
where 1=1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `create_by` = #{createBy}and `time_id` = #{timeId}and `meter_id` = #{meterId}and `meter_type` = #{meterType}and `is_public` = #{isPublic}and meter_name like concat('%', #{meterName},'%')and `shop_id` = #{shopId}and shop_number like concat('%', #{shopNumber},'%')and `building_id` = #{buildingId}and `floor_id` = #{floorId}and `is_del` = #{isDel}and create_by_name like concat('%', #{createByName},'%')
and shop_id in
#{sidItem}
and id in
#{idItem}
order by ${sortColumns}
update wx_energy_meter_reading set is_del = #{isDel} where id = #{id} and `tenant_id` = #{tenantId}