`id`,`coupon_id`,`title`,`content`,`image`,`link_url`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `coupon_id` = #{couponId}
and `title` like concat('%', #{title},'%')
and `content` like concat('%', #{content},'%')
and `image` like concat('%', #{image},'%')
and `link_url` like concat('%', #{linkUrl},'%')
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and id in
#{idItem}
order by ${sortColumns}