|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.epmet.datareport.controller.screen; |
|
|
|
|
|
|
|
import com.epmet.commons.extappauth.annotation.ExternalAppRequestAuth; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
import com.epmet.datareport.service.evaluationindex.screen.IndexService; |
|
|
@ -35,7 +36,7 @@ public class IndexController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/19 2:53 下午 |
|
|
|
*/ |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("yearaverageindex") |
|
|
|
public Result<YearAverageIndexResultDTO> yearAverageIndex(@RequestBody YearAverageIndexFormDTO yearAverageIndexFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(yearAverageIndexFormDTO, YearAverageIndexFormDTO.YearAverageIndex.class); |
|
|
@ -48,7 +49,7 @@ public class IndexController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/19 3:17 下午 |
|
|
|
*/ |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("monthindexanalysis/piechart") |
|
|
|
public Result<MonthPieChartResultDTO> monthPieChart(@RequestBody MonthPieChartFormDTO monthPieChartFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(monthPieChartFormDTO, MonthPieChartFormDTO.MonthPieChart.class); |
|
|
@ -61,7 +62,7 @@ public class IndexController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/19 5:27 下午 |
|
|
|
*/ |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("monthindexanalysis/barchart") |
|
|
|
public Result<MonthBarchartResultDTO> monthBarchart(@RequestBody MonthBarchartFormDTO monthBarchartFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(monthBarchartFormDTO, MonthBarchartFormDTO.MonthBarchart.class); |
|
|
@ -74,7 +75,7 @@ public class IndexController { |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/20 10:02 上午 |
|
|
|
*/ |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("subagencyindexrank") |
|
|
|
public Result<List<SubAgencyIndexRankResultDTO>> subAgencyIndexRank(@RequestBody SubAgencyIndexRankFormDTO subAgencyIndexRankFormDTO){ |
|
|
|
ValidatorUtils.validateEntity(subAgencyIndexRankFormDTO, SubAgencyIndexRankFormDTO.SubAgencyIndexRank.class); |
|
|
@ -89,7 +90,7 @@ public class IndexController { |
|
|
|
* @Author zhangyong |
|
|
|
* @Date 09:38 2020-09-08 |
|
|
|
**/ |
|
|
|
//@ExternalAppRequestAuth
|
|
|
|
@ExternalAppRequestAuth |
|
|
|
@PostMapping("dataclient/subagencyindexrank") |
|
|
|
public Result<List<SubAgencyIndexRankResultDTO>> anNingSubAgencyIndexRank(@RequestBody AnNingSubAgencyIndexRankFormDTO formDTO){ |
|
|
|
ValidatorUtils.validateEntity(formDTO, AnNingSubAgencyIndexRankFormDTO.SubAgencyIndexRank.class); |
|
|
|