Commit 82f44dde authored by zp's avatar zp

add

parent 829b1fd2
...@@ -44,6 +44,10 @@ public interface ProductApi { ...@@ -44,6 +44,10 @@ public interface ProductApi {
@GetMapping("/product/list") @GetMapping("/product/list")
CommonResp<List<ProductInfoVO>> getProductList(@ApiParam("产品id") @RequestParam("ids") List<String> ids); CommonResp<List<ProductInfoVO>> getProductList(@ApiParam("产品id") @RequestParam("ids") List<String> ids);
@ApiOperation("获取产品详情")
@GetMapping("/product/not/net")
CommonResp<List<ProductInfoVO>> getProductListNotNetInfo(@ApiParam("产品id") @RequestParam("ids") List<String> ids);
@ApiOperation("单位净值") @ApiOperation("单位净值")
@GetMapping("/unit/net") @GetMapping("/unit/net")
CommonResp<UnitNetVO> getUnitNetInfo(@ApiParam("产品id") @RequestParam("id") String id, @ApiParam("对比基金id") @RequestParam(value = "ratioId", required = false) String ratioId, CommonResp<UnitNetVO> getUnitNetInfo(@ApiParam("产品id") @RequestParam("id") String id, @ApiParam("对比基金id") @RequestParam(value = "ratioId", required = false) String ratioId,
......
...@@ -47,6 +47,11 @@ public class ProductController implements ProductApi { ...@@ -47,6 +47,11 @@ public class ProductController implements ProductApi {
return CommonResp.success(this.productService.getProductDetail(id)); return CommonResp.success(this.productService.getProductDetail(id));
} }
@Override
public CommonResp<List<ProductInfoVO>> getProductListNotNetInfo(List<String> ids) {
return CommonResp.success();
}
@Override @Override
public CommonResp<List<ProductInfoVO>> getProductList(List<String> ids) { public CommonResp<List<ProductInfoVO>> getProductList(List<String> ids) {
return CommonResp.success(this.productService.getProductList(ids)); return CommonResp.success(this.productService.getProductList(ids));
......
...@@ -38,6 +38,7 @@ public interface ProductService { ...@@ -38,6 +38,7 @@ public interface ProductService {
Page<NetVO> getNetList(NetReq req); Page<NetVO> getNetList(NetReq req);
List<BonusRatioVO> getBonusRatio(String id); List<BonusRatioVO> getBonusRatio(String id);
List<TrackRecordVO> getTrackRecord(String id); List<TrackRecordVO> getTrackRecord(String id);
...@@ -68,6 +69,8 @@ public interface ProductService { ...@@ -68,6 +69,8 @@ public interface ProductService {
List<ProductInfoVO> getPrivateFundList(List<String> ids); List<ProductInfoVO> getPrivateFundList(List<String> ids);
List<ProductInfoVO> getProductListNotNet(List<String> ids);
List<FundInfoSimpleListResp> getSimpleList(List<String> idList); List<FundInfoSimpleListResp> getSimpleList(List<String> idList);
List<FundInfoSimpleListResp> getPrivateSimpleList(List<String> idList); List<FundInfoSimpleListResp> getPrivateSimpleList(List<String> idList);
......
...@@ -1552,6 +1552,12 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1552,6 +1552,12 @@ public class ProductServiceImpl implements ProductService, Constant {
multiply100(fundCount.getStddevIncep()), multiply100(fundCount.getSharperatioIncep()), multiply100(fundCount.getRetIncepA()))); multiply100(fundCount.getStddevIncep()), multiply100(fundCount.getSharperatioIncep()), multiply100(fundCount.getRetIncepA())));
} }
@Override
public List<ProductInfoVO> getProductListNotNet(List<String> ids) {
return null;
}
@Override @Override
public List<ProductInfoVO> getPrivateFundList(List<String> ids) { public List<ProductInfoVO> getPrivateFundList(List<String> ids) {
......
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