feat(REQ-2545): 元素上报查询接口字段修改
This commit is contained in:
parent
b89f8c51b4
commit
93dcbda32d
@ -132,11 +132,9 @@ public class ProductServiceImpl implements ProductService {
|
||||
fillNonGaFeatureRelation(productVO);
|
||||
}
|
||||
} else {
|
||||
ProductFeatureRelationSearchReq req = new ProductFeatureRelationSearchReq();
|
||||
req.setProductModuleId(id);
|
||||
ApiResult<List<ProductFeatureRelationVO>> result = productFeatureRelationService.featureList(req);
|
||||
if (CollectionUtils.isNotEmpty(result.getData())) {
|
||||
productVO.setRelationType(result.getData().get(0).getType());
|
||||
SaasProductModuleFeatureRelation relation = productFeatureRelationService.getOneByProductId(id);
|
||||
if (Objects.nonNull(relation)) {
|
||||
productVO.setRelationType(relation.getType());
|
||||
}
|
||||
}
|
||||
return ApiResult.ok(productVO);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user