Authored by qinchao

变价消息提醒

@@ -7,16 +7,10 @@ import com.yoho.core.redis.cluster.operations.nosync.YHSetOperations; @@ -7,16 +7,10 @@ import com.yoho.core.redis.cluster.operations.nosync.YHSetOperations;
7 import com.yoho.core.redis.cluster.operations.serializer.RedisKeyBuilder; 7 import com.yoho.core.redis.cluster.operations.serializer.RedisKeyBuilder;
8 import com.yohobuy.ufo.model.order.common.SkupStatus; 8 import com.yohobuy.ufo.model.order.common.SkupStatus;
9 import com.yohoufo.common.alarm.IEventHandler; 9 import com.yohoufo.common.alarm.IEventHandler;
10 -import com.yohoufo.common.cache.CacheKeyEnum;  
11 import com.yohoufo.dal.order.SellerOrderGoodsMapper; 10 import com.yohoufo.dal.order.SellerOrderGoodsMapper;
12 import com.yohoufo.dal.order.SellerOrderGoodsViewMapper; 11 import com.yohoufo.dal.order.SellerOrderGoodsViewMapper;
13 -import com.yohoufo.dal.order.model.OrderOverTime;  
14 import com.yohoufo.dal.order.model.SellerOrderGoods; 12 import com.yohoufo.dal.order.model.SellerOrderGoods;
15 import com.yohoufo.order.event.SellerOrderPriceChangeEvent; 13 import com.yohoufo.order.event.SellerOrderPriceChangeEvent;
16 -import com.yohoufo.order.mq.DelayTime;  
17 -import com.yohoufo.order.mq.TopicConstants;  
18 -import com.yohoufo.order.mq.producer.TradeMqSender;  
19 -import com.yohoufo.order.service.impl.OrderOverTimeService;  
20 import com.yohoufo.order.service.proxy.InBoxFacade; 14 import com.yohoufo.order.service.proxy.InBoxFacade;
21 import org.apache.commons.collections.CollectionUtils; 15 import org.apache.commons.collections.CollectionUtils;
22 import org.slf4j.Logger; 16 import org.slf4j.Logger;
@@ -26,7 +20,10 @@ import org.springframework.stereotype.Component; @@ -26,7 +20,10 @@ import org.springframework.stereotype.Component;
26 20
27 import java.math.BigDecimal; 21 import java.math.BigDecimal;
28 import java.text.SimpleDateFormat; 22 import java.text.SimpleDateFormat;
29 -import java.util.*; 23 +import java.util.Date;
  24 +import java.util.HashSet;
  25 +import java.util.List;
  26 +import java.util.Set;
30 import java.util.concurrent.TimeUnit; 27 import java.util.concurrent.TimeUnit;
31 import java.util.stream.Collectors; 28 import java.util.stream.Collectors;
32 29
@@ -48,7 +45,7 @@ public class SellerOrderPriceChangeHandler implements IEventHandler<SellerOrderP @@ -48,7 +45,7 @@ public class SellerOrderPriceChangeHandler implements IEventHandler<SellerOrderP
48 private InBoxFacade inBoxFacade; 45 private InBoxFacade inBoxFacade;
49 46
50 @Redis("gwNoSyncRedis") 47 @Redis("gwNoSyncRedis")
51 - private YHSetOperations yhSetOperations; 48 + YHSetOperations yhSetOperations;
52 49
53 @Redis("gwNoSyncRedis") 50 @Redis("gwNoSyncRedis")
54 YHRedisTemplate yhRedisTemplate; 51 YHRedisTemplate yhRedisTemplate;