`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`receive_date`,`receive_money`,`pay_money`,`set_off_money`,`cut_money`,`status`,`type`, `money_detail`,`create_by`,`create_by_name`,`update_by`,`update_by_name`,`merchant_id`,`rent_shop_type`,`remark`, `fees_id`,`is_print`,`is_finish` where 1=1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `status` = #{status} and `type` = #{type} and `merchant_id` = #{merchantId} and `rent_shop_type` = #{rentShopType} and `create_time` >= #{createTimeBegin} and `create_time` <= #{createTimeEnd} and `receive_date` >= #{receiveDateBegin} and `receive_date` <= #{receiveDateEnd} and `fees_id` = #{feesId} and `rent_shop_type` = #{rentShopType} and `is_print` = #{isPrint} and `is_finish` = #{isFinish} and merchant_id in #{midItem} and fees_id in #{fidItem} and id in #{idItem} order by ${sortColumns} update wx_finance_receive set is_del = #{isDel} where id = #{id} and `tenant_id` = #{tenantId} update wx_finance_receive set is_finish = 1 and status not in (2,3,4) update wx_finance_receive set is_print = 1 where id = #{id} and tenant_id = #{tenantId} update wx_finance_receive set status = #{status} ,`remark` = #{remark} where id = #{id} and tenant_id = #{tenantId}