Authored by mali

是否可添加尺码

... ... @@ -2289,6 +2289,12 @@ public class ProductServiceImpl implements ProductService {
productHelpService.setProductMosterPrice(productInfo, goodsSizes); // 设置商品SKn的最高求购价
List<JSONObject> otherAddSizeList = getOtherSizeList(product.getMaxSortId(), product.getMidSortId(), goodsSizes);
if(!CollectionUtils.isEmpty(otherAddSizeList)) {
goodsBOList.get(0).setCanAddSize(true);
goodsBOList.get(0).setOtherSizeList(otherAddSizeList);
}
storageService.sort(goodsSizes); // 根据尺码库的排序值排序
}
... ...