Commit c7787b57 authored by 钱坤's avatar 钱坤

理财师录入私有基金净值时候,判空

parent bf78ec83
...@@ -204,7 +204,7 @@ public interface ProductApi { ...@@ -204,7 +204,7 @@ public interface ProductApi {
@ApiOperation("理财师净值导入") @ApiOperation("理财师净值导入")
@PostMapping("/ifa/net/import/check/save") @PostMapping("/ifa/net/import/check/save")
CommonResp<List<FundNavMessage>> importNetCheckSaveInfo(@RequestBody @Valid @NotEmpty(message = "请确定需要修改的信息") IfaNetImportReq req); CommonResp<List<FundNavMessage>> importNetCheckSaveInfo(@RequestBody @NotEmpty(message = "请确定需要修改的信息") IfaNetImportReq req);
@ApiOperation("私募排行") @ApiOperation("私募排行")
@PostMapping("/private/rank") @PostMapping("/private/rank")
......
...@@ -1797,7 +1797,9 @@ public class ProductServiceImpl implements ProductService, Constant { ...@@ -1797,7 +1797,9 @@ public class ProductServiceImpl implements ProductService, Constant {
@Override @Override
public CommonResp<List<FundNavMessage>> importNetCheckSave(IfaNetImportReq req) { public CommonResp<List<FundNavMessage>> importNetCheckSave(IfaNetImportReq req) {
if (CollectionUtils.isEmpty(req.getFundNavMessages())) {
return CommonResp.success();
}
Map<Long, IfaImportedFundNav> ifaNavMap; Map<Long, IfaImportedFundNav> ifaNavMap;
if (StringUtils.isEmpty(req.getFundId())) { if (StringUtils.isEmpty(req.getFundId())) {
ifaNavMap = new HashMap<>(0); ifaNavMap = new HashMap<>(0);
......
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