Showing
1 changed file
with
0 additions
and
4 deletions
@@ -52,10 +52,6 @@ public class StorageUpdateTimeLogicService { | @@ -52,10 +52,6 @@ public class StorageUpdateTimeLogicService { | ||
52 | } | 52 | } |
53 | outSaleTimeMap.put(productTiming.getProductSkn(),productTiming.getOutSaleTime()); | 53 | outSaleTimeMap.put(productTiming.getProductSkn(),productTiming.getOutSaleTime()); |
54 | } | 54 | } |
55 | - | ||
56 | - if (!CollectionUtils.isEmpty(productTimings)) { | ||
57 | - outSaleTimeMap = productTimings.stream().parallel().collect(Collectors.toMap(ProductTiming::getProductSkn, ProductTiming::getOutSaleTime)); | ||
58 | - } | ||
59 | Map<Integer, Integer> sknMap = new HashMap<>(); | 55 | Map<Integer, Integer> sknMap = new HashMap<>(); |
60 | List<Product> products = productService.selectListByIds(productIds); | 56 | List<Product> products = productService.selectListByIds(productIds); |
61 | if (!CollectionUtils.isEmpty(products)) { | 57 | if (!CollectionUtils.isEmpty(products)) { |
-
Please register or login to post a comment