`id`,`tenant_id`,`parent_tenant_id`,`mch_id`,`sub_mch_id`,`sub_app_id`,
`api_key`,`cert_path`,`merchant_api_key`,`merchant_cert_path`,
`notify_url`,`notify_token`,
`api_v3_key`,`cert_serial_no`,`private_key_path`,`private_cert_pem_path`,
`merchant_apiv3_key`,`merchant_cert_serial_no`,`merchant_key_path`,`merchant_cert_pem_path`,
`type`,`mch_type`,`open_pay`,`pay_version`,`share`,`rate`,`real_rate`,
`is_commission`,`system_rate`,`sell_rate`,
`service_id`,`pay_score_notify_url`,
`business_type`,`brandid`,`card_id`
where 1 = 1
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `mch_id` = #{mchId}
and `sub_mch_id` = #{subMchId}
and `type` = #{type}
and `share` = #{share}
and `is_commission` = #{isCommission}
and id in
#{idItem}
order by ${sortColumns}