|
|
@@ -188,6 +188,9 @@ public class ProductService {
|
|
|
}
|
|
|
List<ProductTag> applicationFields = productTagRepo.findAllById(product.getApplicationField());
|
|
|
|
|
|
+ if (CollUtil.isNotEmpty(product.getOrigin1())) {
|
|
|
+ dto.setOrigin1(productTagRepo.findAllById(product.getOrigin1()));
|
|
|
+ }
|
|
|
ProductCategory category = productCategoryRepo.findById(product.getProductCategoryId())
|
|
|
.orElseThrow(new BusinessException("无分类"));
|
|
|
|