This commit is contained in:
杜建超 2020-11-16 15:51:02 +08:00
parent bec7aa5457
commit 2c7e95212c
2 changed files with 2 additions and 2 deletions

View File

@ -19,5 +19,5 @@ public class OwnResultResp {
private String name;
//最后得分
@ApiModelProperty("最后得分")
private BigDecimal lastScore;
private BigDecimal allScore;
}

View File

@ -99,7 +99,7 @@ public class ChartController extends AbstractController{
//如果id为空查询自己信息
userId = getUserId();
}
List<OwnResultResp> ownResultResps = resultRecordService.ownResult(null);
List<OwnResultResp> ownResultResps = resultRecordService.ownResult(userId);
return R.ok().put("data",ownResultResps);
}