|
@@ -248,7 +248,7 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
public void add(ProductInfoDto productInfoDto) {
|
|
|
//赋值产品归属公司
|
|
|
if (ObjectUtil.isEmpty(productInfoDto.getCompanyId())) {
|
|
|
- productInfoDto.setCountryId(SecurityUtils.getCompanyId());
|
|
|
+ productInfoDto.setCompanyId(SecurityUtils.getCompanyId());
|
|
|
}
|
|
|
Long companyId = productInfoDto.getCompanyId();
|
|
|
|
|
@@ -510,7 +510,7 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
//赋值产品归属公司
|
|
|
Long companyId = productInfoDto.getCompanyId();
|
|
|
if (ObjectUtil.isEmpty(companyId)) {
|
|
|
- productInfoDto.setCountryId(SecurityUtils.getCompanyId());
|
|
|
+ productInfoDto.setCompanyId(SecurityUtils.getCompanyId());
|
|
|
}
|
|
|
|
|
|
this.updateById(productInfoDto);
|