`id`,`tenant_id`,`coupon_id`,`c_user_id`,`payment`,`status`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` like concat('%', #{tenantId},'%')
and `coupon_id` = #{couponId}
and `c_user_id` = #{cUserId}
and `payment` = #{payment}
and `status` = #{status}
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and id in
#{idItem}
order by ${sortColumns}