Authored by qinchao

fix

@@ -84,7 +84,7 @@ public class SellerOrderPriceChangeHandler implements IEventHandler<SellerOrderP @@ -84,7 +84,7 @@ public class SellerOrderPriceChangeHandler implements IEventHandler<SellerOrderP
84 noticeList = noticeList.stream().filter(r->!members.contains(getValueForSet(r))).collect(Collectors.toList()); 84 noticeList = noticeList.stream().filter(r->!members.contains(getValueForSet(r))).collect(Collectors.toList());
85 } 85 }
86 //用map保证,一个uid只有一条,防止消息多发 86 //用map保证,一个uid只有一条,防止消息多发
87 - Map<Integer,SellerOrderGoods> noticeSellerMap = noticeList.stream().collect(Collectors.toMap(SellerOrderGoods::getUid, r -> r)); 87 + Map<Integer,SellerOrderGoods> noticeSellerMap = noticeList.stream().collect(Collectors.toMap(SellerOrderGoods::getUid, r -> r,(value1, value2 )->value2));
88 logger.info("Subscribe SellerOrderPriceChangeEvent begin send msg, event {},noticeSellerMap {} ", event,noticeSellerMap); 88 logger.info("Subscribe SellerOrderPriceChangeEvent begin send msg, event {},noticeSellerMap {} ", event,noticeSellerMap);
89 //发消息 and push 89 //发消息 and push
90 if(noticeSellerMap.size()>0){ 90 if(noticeSellerMap.size()>0){