...
|
...
|
@@ -159,6 +159,11 @@ public class FavoriteSkuService { |
|
|
FavoriteSkuResp favoriteSkuResp = integerFavoriteSkuRespMap.get(item.getStorageId());
|
|
|
if (null != favoriteSkuResp) {
|
|
|
respList.add(favoriteSkuResp);
|
|
|
|
|
|
if (null != favoriteSkuResp.getPrice() && null != item.getPrice()
|
|
|
&& item.getPrice().compareTo(new BigDecimal("0")) > 0) {
|
|
|
favoriteSkuResp.setGapPrice(item.getPrice().subtract(favoriteSkuResp.getPrice()));
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
return respList;
|
...
|
...
|
|