|
@@ -251,6 +251,8 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService
|
|
|
product.setIntegral(Long.parseLong(countDto.getMinIntegral().toString()));
|
|
|
product.setStock(Long.parseLong(countDto.getStock().toString()));
|
|
|
product.setVideo(param.getVideo());
|
|
|
+ product.setIsStar(param.getIsStar());
|
|
|
+ product.setIsDiscountToday(param.getIsDiscountToday());
|
|
|
fsStoreProductMapper.updateFsStoreProduct(product);
|
|
|
if (param.getSpecType().equals(0)) {
|
|
|
ProductArrtDTO fromatDetailDto = ProductArrtDTO.builder()
|
|
@@ -274,6 +276,8 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService
|
|
|
product.setIntegral(Long.parseLong(countDto.getMinIntegral().toString()));
|
|
|
product.setStock(Long.parseLong(countDto.getStock().toString()));
|
|
|
product.setVideo(param.getVideo());
|
|
|
+ product.setIsStar(param.getIsStar());
|
|
|
+ product.setIsDiscountToday(param.getIsDiscountToday());
|
|
|
fsStoreProductMapper.insertFsStoreProduct(product);
|
|
|
if (param.getSpecType().equals(0)) {
|
|
|
ProductArrtDTO fromatDetailDto = ProductArrtDTO.builder()
|