|
|
@ -165,9 +165,9 @@ public class GroupPointController { |
|
|
|
* @date 2021.09.08 13:31:09 |
|
|
|
*/ |
|
|
|
@PostMapping("grouppointranking/mygroups") |
|
|
|
public Result<List<GroupPointRankingResultDTO>> listMyGroupPointRanding(@RequestBody GroupPointFormDTO formDTO) { |
|
|
|
public Result<List<GroupPointRankingResultDTO>> listMyGroupPointRanding(@LoginUser TokenDto loginInfo, @RequestBody GroupPointFormDTO formDTO) { |
|
|
|
String userId = loginInfo.getUserId(); |
|
|
|
ValidatorUtils.validateEntity(formDTO, GroupPointFormDTO.MyGroupRank.class); |
|
|
|
String userId = formDTO.getUserId(); |
|
|
|
String gridId = formDTO.getGridId(); |
|
|
|
List<GroupPointRankingResultDTO> list = bizPointTotalDetailService.listMyGroupPointRanding(userId, gridId); |
|
|
|
return new Result<List<GroupPointRankingResultDTO>>().ok(list); |
|
|
|