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