`id`,`tenant_id`,`coupon_id`,`user_id`,`action`,`operation_time`
where 1 = 1
and `id` = #{id}
and `tenant_id` like concat('%', #{tenantId},'%')
and `coupon_id` = #{couponId}
and `user_id` = #{userId}
and `action` like concat('%', #{action},'%')
and `operation_time` = #{operationTime}
and id in
#{idItem}
order by ${sortColumns}