Commit 7208ba50 authored by zhangyh@wealthgrow.cn's avatar zhangyh@wealthgrow.cn

指数

parent f9b3422e
...@@ -161,6 +161,11 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -161,6 +161,11 @@ public class ProductServiceImpl implements ProductService, Constant {
} }
FundInfo fundInfo = infos.get(0); FundInfo fundInfo = infos.get(0);
BeanUtils.copyProperties(fundInfo, vo); BeanUtils.copyProperties(fundInfo, vo);
if (StringUtils.isNotBlank(fundInfo.getPrimaryBenchmarkId())) {
vo.setPrimaryBenchmarkId(ProductEnums.IndexEnum.getValue(fundInfo.getPrimaryBenchmarkId()));
}
vo.setStrategy(String.valueOf(fundInfo.getStrategy())); vo.setStrategy(String.valueOf(fundInfo.getStrategy()));
vo.setSubstrategy(String.valueOf(fundInfo.getSubstrategy())); vo.setSubstrategy(String.valueOf(fundInfo.getSubstrategy()));
vo.setOpenDay(fundInfo.getOpenDay()); vo.setOpenDay(fundInfo.getOpenDay());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment