`id`,`mch_id`,`api_key`,`notify_url`,`cert_path`
where 1 = 1
and `id` = #{id}
and `mch_id` like concat('%', #{mchId},'%')
and `api_key` like concat('%', #{apiKey},'%')
and `notify_url` like concat('%', #{notifyUrl},'%')
and `cert_path` like concat('%', #{certPath},'%')
and id in
#{idItem}
order by ${sortColumns}