`id`,`tenant_id`,`parent_tenant_id`,`mch_id`,`sub_mch_id`,`api_key`,`notify_url`,`cert_path`, `type`,`share`,`rate`,`real_rate`,`service_charge_rate` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `mch_id` = #{mchId} and `sub_mch_id` = #{subMchId} and `api_key` like concat('%', #{apiKey},'%') and `notify_url` like concat('%', #{notifyUrl},'%') and `cert_path` like concat('%', #{certPath},'%') and `type` = #{type} and `share` = #{share} and `rate` = #{rate} and `real_rate` = #{realRate} and id in #{idItem} order by ${sortColumns}