`id`,`mch_id`,`sub_mch_id`,`api_key`,`notify_url`,`cert_path`,`type`,`share`,`rate` where 1 = 1 and `id` = #{id} 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 id in #{idItem} order by ${sortColumns}