Authored by TANLING

优惠券限制

package com.yohoufo.common.helper;
import com.google.common.collect.Lists;
import com.yoho.service.model.promotion.ProductLimitValueBo;
import com.yohobuy.ufo.model.order.bo.ShoppingProductInfo;
import com.yohobuy.ufo.model.promotion.constant.CouponProductLimitTypeEnum;
import com.yohobuy.ufo.model.promotion.request.ProductLimitValueBo;
import com.yohobuy.ufo.model.promotion.response.ProductLimitInfo;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
... ...
package com.yohoufo.promotion.convert;
import com.google.common.collect.Lists;
import com.yoho.service.model.promotion.ProductLimitValueBo;
import com.yohobuy.ufo.model.promotion.CouponSimpleBo;
import com.yohobuy.ufo.model.promotion.UserCouponsBo;
import com.yohobuy.ufo.model.promotion.constant.*;
import com.yohobuy.ufo.model.promotion.request.ProductLimitValueBo;
import com.yohobuy.ufo.model.promotion.response.CouponInfo;
import com.yohobuy.ufo.model.promotion.response.ProductLimitInfo;
import com.yohoufo.common.helper.ProductLimitCollector;
... ...
... ... @@ -6,13 +6,13 @@ import com.google.common.collect.Range;
import com.yoho.core.redis.cluster.operations.serializer.RedisKeyBuilder;
import com.yoho.error.ServiceError;
import com.yoho.error.exception.ServiceException;
import com.yoho.service.model.promotion.ProductLimitValueBo;
import com.yohobuy.ufo.model.promotion.CouponSimpleBo;
import com.yohobuy.ufo.model.promotion.UserCouponsBo;
import com.yohobuy.ufo.model.promotion.UserCouponsListBo;
import com.yohobuy.ufo.model.promotion.constant.CouponProductLimitTypeEnum;
import com.yohobuy.ufo.model.promotion.constant.CouponUseStatusEnum;
import com.yohobuy.ufo.model.promotion.constant.CouponsStatusEnum;
import com.yohobuy.ufo.model.promotion.request.ProductLimitValueBo;
import com.yohoufo.dal.promotion.CouponProductLimitMapper;
import com.yohoufo.promotion.model.CouponReceiveChannel;
import com.yohobuy.ufo.model.promotion.request.CouponSendType;
... ...