Authored by wangnan

fix

... ... @@ -63,7 +63,7 @@ public class ProductGoodsLogicService {
//获取goods对应的库存
Map<Integer, Integer> storagesMap = new HashMap<>();
if (CollectionUtils.isEmpty(storages)) {
if (!CollectionUtils.isEmpty(storages)) {
for (Storage storage : storages) {
if (storagesMap.containsKey(storage.getGoodsId())) {
storagesMap.put(storage.getGoodsId(), storage.getStorageNum() + storagesMap.get(storage.getGoodsId()));
... ...