Commit d385446a authored by zhengyi's avatar zhengyi

Merge branch 'master-fix' into dev

parents 416d4f6d 132650df
...@@ -994,7 +994,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -994,7 +994,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
}); });
} else { } else {
Map<String, ProductPriceSpecialDO> dictTypeMap = productPriceSpecialDOList.stream() Map<String, ProductPriceSpecialDO> dictTypeMap = productPriceSpecialDOList.stream()
.collect(Collectors.toMap(ProductPriceSpecialDO::getSpecialDictType, v -> v)); .collect(Collectors.toMap(ProductPriceSpecialDO::getSpecialDictType, v -> v, (v1,v2) -> v2));
specialList.forEach(t -> { specialList.forEach(t -> {
String dictType = t.getSpecialDictType(); String dictType = t.getSpecialDictType();
ProductPriceSpecialDO productPriceSpecialDO = dictTypeMap.get(dictType); ProductPriceSpecialDO productPriceSpecialDO = dictTypeMap.get(dictType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment