|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.epmet.datareport.controller.fact; |
|
|
|
|
|
|
|
import com.epmet.commons.extappauth.annotation.InternalAppRequestAuth; |
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
@ -32,6 +33,7 @@ public class FactIndexController { |
|
|
|
* @Description 能力指数 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/ablityindex") |
|
|
|
public Result<List<AblityIndexResultDTO>> ablityIndex(@LoginUser TokenDto tokenDTO, @RequestBody AblityIndexFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, AblityIndexFormDTO.AddUserInternalGroup.class); |
|
|
@ -43,6 +45,7 @@ public class FactIndexController { |
|
|
|
* @Description 按月份查询各项能力分数 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/scorelist") |
|
|
|
public Result<List<ScoreListResultDTO>> scoreList(@LoginUser TokenDto tokenDTO, @RequestBody ScoreListFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, ScoreListFormDTO.AddUserInternalGroup.class); |
|
|
@ -54,6 +57,7 @@ public class FactIndexController { |
|
|
|
* @Description 按月份查询各项能力最近12个月得分 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/monthscorelist") |
|
|
|
public Result<List<MonthScoreListResultDTO>> monthScoreList(@LoginUser TokenDto tokenDTO, @RequestBody MonthScoreListFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, MonthScoreListFormDTO.AddUserInternalGroup.class); |
|
|
@ -65,6 +69,7 @@ public class FactIndexController { |
|
|
|
* @Description 按月查询各项指标数据 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/ablitylist") |
|
|
|
public Result<List<AblityListResultDTO>> ablityList(@LoginUser TokenDto tokenDTO, @RequestBody AblityListFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, AblityListFormDTO.AddUserInternalGroup.class); |
|
|
@ -76,6 +81,7 @@ public class FactIndexController { |
|
|
|
* @Description 按月查询各项指标最近12个月数据 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/monthablitylist") |
|
|
|
public Result<List<MonthAblityListResultDTO>> monthAblityList(@LoginUser TokenDto tokenDTO, @RequestBody MonthAblityListFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, MonthAblityListFormDTO.AddUserInternalGroup.class); |
|
|
@ -87,6 +93,7 @@ public class FactIndexController { |
|
|
|
* @Description 同级对比各项数据查询 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/peercomparison") |
|
|
|
public Result<List<PeerComparisonResultDTO>> peerComparison(@LoginUser TokenDto tokenDTO, @RequestBody PeerComparisonFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, PeerComparisonFormDTO.AddUserInternalGroup.class); |
|
|
@ -98,6 +105,7 @@ public class FactIndexController { |
|
|
|
* @Description 是否根组织 |
|
|
|
* @author sun |
|
|
|
*/ |
|
|
|
@InternalAppRequestAuth |
|
|
|
@PostMapping("index/rootagency") |
|
|
|
public Result<RootAgencyResultDTO> rootAgency(@LoginUser TokenDto tokenDTO, @RequestBody RootAgencyFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO, RootAgencyFormDTO.AddUserInternalGroup.class); |
|
|
|