`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_head_img`,`audio_date`,`merchant_id`,`merchant_name`,`recive_open_id`,`recive_nick_name`, `wx_pay_no`,`wx_pay_time`,`fail_remark`,`real_name` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `create_date` >= #{createDateBegin} and `create_date` <= #{createDateEnd} and `merchant_id` = #{merchantId} and `merchant_name` like concat('%', #{merchantName},'%') and `real_name` like concat('%', #{realName},'%') and `status` = #{status} and status in #{statusItem} and id in #{idItem} order by ${sortColumns} update wx_cash_out set `status` = #{status}, `fail_remark` = #{failRemark}, `audio_remark` = #{audioRemark}, `audio_date` = #{audioDate}, `update_date` = #{updateDate} where id=#{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId}