`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`bill_id`,`bill_cus_name`,`shop_id`,`fees_id`,
`pay_way`,`receive_id`,`receive`,`pay`,`starttime`,`endtime`,`is_del`,`type`,`receive_date`
where 1=1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `bill_id` = #{billId}
and `bill_cus_name` like concat('%',#{billCusName},'%')
and `shop_id` = #{shopId}and `fees_id` = #{feesId}and `pay_way` = #{payWay}and `receive_id` = #{receiveId}and `is_del` = #{isDel}and `create_time` >= #{createTimeBegin}and `create_time` <= #{createTimeEnd}and `starttime` >= #{starttime}and `endtime` <= #{endtime}and `pay_way` != 4 and type = #{type}
and shop_id in
#{shidItem}
and fees_id in
#{fidItem}
and pay_way in
#{paidItem}
and id in
#{idItem}
order by ${sortColumns}
update wx_finance_receive_bill set is_del = 1 ,update_time = #{updateTime}