`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`advance_fees_id`,`fees_id`
where 1=1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `advance_fees_id` = #{advanceFeesId}and `fees_id` = #{feesId}
and id in
#{idItem}
order by ${sortColumns}
delete from wx_energy_fees_setoff where `tenant_id` = #{tenantId} and advance_fees_id = #{advanceFeesId}