Commit c7787b57 authored by 钱坤's avatar 钱坤

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

parent bf78ec83
......@@ -204,7 +204,7 @@ public interface ProductApi {
@ApiOperation("理财师净值导入")
@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("私募排行")
@PostMapping("/private/rank")
......
......@@ -1797,7 +1797,9 @@ public class ProductServiceImpl implements ProductService, Constant {
@Override
public CommonResp<List<FundNavMessage>> importNetCheckSave(IfaNetImportReq req) {
if (CollectionUtils.isEmpty(req.getFundNavMessages())) {
return CommonResp.success();
}
Map<Long, IfaImportedFundNav> ifaNavMap;
if (StringUtils.isEmpty(req.getFundId())) {
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