`id`,`tenant_id`,`parent_tenant_id`,`total_fee`,`status`,`audio_remark`,`create_date`,`update_date`,`b_user_id`,`phone`,
`wx_b_open_id`,`wx_b_open_headImg`,`audio_date`,`merchant_id`,`merchant_name`,`recive_open_id`,`recive_nick_name`,
`wx_pay_no`,`wx_pay_time`,`fail_remark`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `create_date` >= #{createDateBegin}
and `create_date` <= #{createDateEnd}
and `status` = #{status}
and status in
#{statusItem}
and id in
#{idItem}
order by ${sortColumns}
update wx_cash_out
set `status` = #{status},
`update_date` = #{updateDate}
where id=#{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}