|
@@ -107,7 +107,7 @@ public class AnnualBudgetController {
|
|
|
* 获取项目列表
|
|
|
*/
|
|
|
@GetMapping("/getProjectList")
|
|
|
- @ApiOperationSupport(order = 5)
|
|
|
+ @ApiOperationSupport(order = 7)
|
|
|
@ApiOperation(value = "获取项目列表")
|
|
|
public R<List<ControlProjectInfoVO>> getProjectList() {
|
|
|
return R.data(budgetService.getProjectList());
|
|
@@ -117,7 +117,7 @@ public class AnnualBudgetController {
|
|
|
* 获取二级科目
|
|
|
*/
|
|
|
@GetMapping("/getSecondSubject")
|
|
|
- @ApiOperationSupport(order = 5)
|
|
|
+ @ApiOperationSupport(order = 8)
|
|
|
@ApiOperation(value = "获取二级科目")
|
|
|
public R<List<DictInfoVO>> getSecondSubject() {
|
|
|
return R.data(budgetService.getSecondSubject());
|
|
@@ -127,7 +127,7 @@ public class AnnualBudgetController {
|
|
|
* 门户-年度指标统计
|
|
|
*/
|
|
|
@GetMapping("/portalAnnualTarget")
|
|
|
- @ApiOperationSupport(order = 5)
|
|
|
+ @ApiOperationSupport(order = 9)
|
|
|
@ApiOperation(value = "门户-年度指标统计")
|
|
|
public R<AnnualBudgetVO3> portalAnnualTarget() {
|
|
|
return R.data(budgetService.portalAnnualTarget());
|
|
@@ -137,10 +137,23 @@ public class AnnualBudgetController {
|
|
|
* 门户-年度各项费用统计
|
|
|
*/
|
|
|
@GetMapping("/portalAnnualCost")
|
|
|
- @ApiOperationSupport(order = 5)
|
|
|
+ @ApiOperationSupport(order = 10)
|
|
|
@ApiOperation(value = "门户-年度各项费用统计")
|
|
|
public R<Map<String, BigDecimal>> portalAnnualCost(String year) {
|
|
|
return R.data(budgetService.portalAnnualCost(year));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 年度列表
|
|
|
+ */
|
|
|
+ @GetMapping("/yearList")
|
|
|
+ @ApiOperationSupport(order = 11)
|
|
|
+ @ApiOperation(value = "年度列表")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "type", value = "1不包含所有,2包含所有", required = true),
|
|
|
+ })
|
|
|
+ public R<List<String>> yearList(Integer type) {
|
|
|
+ return R.data(budgetService.yearList(type));
|
|
|
+ }
|
|
|
+
|
|
|
}
|