...
|
...
|
@@ -169,11 +169,11 @@ public class SellerNoticeFacade extends BaseNoticeFacade { |
|
|
List<Integer> statusList = Lists.newArrayList(SkupStatus.CAN_SELL.getCode());
|
|
|
Set<Integer> skupTypes = Sets.newHashSet(skupType.getCode());
|
|
|
Integer sku = soldProduct.getStorageId();
|
|
|
BigDecimal leastPrice;
|
|
|
BigDecimal leastPrice = null;
|
|
|
//卖家的现货出价是否是全网最低价
|
|
|
boolean pushEnable = skupType.equals(SkupType.IN_STOCK)
|
|
|
&& Objects.nonNull(leastPrice=skupService.getLeastPriceOfSku(sku , statusList, skupTypes))
|
|
|
&& leastPrice.compareTo(soldProduct.getPrice())<=0;
|
|
|
&& leastPrice.compareTo(soldProduct.getPrice())>=0;
|
|
|
Supplier<SendMessageRspBo> pushSupplier = null;
|
|
|
if (pushEnable){
|
|
|
List<Integer> uids = bidProductProxyService.getAllUidBySku(sku);
|
...
|
...
|
@@ -201,11 +201,11 @@ public class SellerNoticeFacade extends BaseNoticeFacade { |
|
|
List<Integer> statusList = Lists.newArrayList(SkupStatus.CAN_SELL.getCode());
|
|
|
Set<Integer> skupTypes = Sets.newHashSet(skupType.getCode());
|
|
|
Integer sku = tsog.getStorageId();
|
|
|
BigDecimal leastPrice;
|
|
|
BigDecimal leastPrice = null;
|
|
|
//卖家的现货出价是否是全网最低价
|
|
|
boolean pushEnable = skupType.equals(SkupType.IN_STOCK)
|
|
|
&& Objects.nonNull(leastPrice=skupService.getLeastPriceOfSku(sku , statusList, skupTypes))
|
|
|
&& leastPrice.compareTo(tsog.getGoodsPrice())<=0;
|
|
|
&& leastPrice.compareTo(tsog.getGoodsPrice())>=0;
|
|
|
Supplier pushSupplier = null;
|
|
|
if (pushEnable){
|
|
|
List<Integer> uids = bidProductProxyService.getAllUidBySku(sku);
|
...
|
...
|
|