Authored by 周少峰

'storageId'

... ... @@ -2187,10 +2187,12 @@ public class ProductServiceImpl implements ProductService {
}
// sizeName 匹配
if(storages.stream().anyMatch(storage -> null != sizeIdNameMap.get(storage.getSizeId()) && sizeIdNameMap.get(storage.getSizeId()).equals(item.getSizeName()))) {
storages.stream().forEach(storage -> {
if (null != sizeIdNameMap.get(storage.getSizeId()) && sizeIdNameMap.get(storage.getSizeId()).equals(item.getSizeName())){
setStorageCheckRespStatusInfo(item, StorageCheckEnum.PRODUCT_SIZE_MATCH.getType());
return item;
item.setStorageId((storage.getId()));
}
});
return item;
}).collect(Collectors.toList());
... ...