|
|
@@ -459,6 +459,13 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService {
|
|
|
@Override
|
|
|
@Transactional
|
|
|
public R addOrEdit(FsStoreProductAddEditParam param) {
|
|
|
+ if (param.getValues() != null) {
|
|
|
+ for (FsStoreProductAttrValue value : param.getValues()) {
|
|
|
+ if (value.getMinPrice() == null) {
|
|
|
+ value.setMinPrice(BigDecimal.ZERO);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
ProductAttrCountDTO countDto = computedProductCount(param.getValues());
|
|
|
FsSysConfig sysConfig = configUtil.getSysConfig();
|
|
|
Integer erpOpen = sysConfig.getErpOpen();
|