|
@@ -3,7 +3,6 @@ package com.gyee.runeconomy.controller.bmk;/*
|
|
@date 2022/11/23-13:16
|
|
@date 2022/11/23-13:16
|
|
*/
|
|
*/
|
|
|
|
|
|
-import com.gyee.backconfig.model.auto.ProBasicOrganizeTree;
|
|
|
|
import com.gyee.common.model.StringUtils;
|
|
import com.gyee.common.model.StringUtils;
|
|
import com.gyee.common.util.DateUtils;
|
|
import com.gyee.common.util.DateUtils;
|
|
import com.gyee.common.util.SortUtils;
|
|
import com.gyee.common.util.SortUtils;
|
|
@@ -12,6 +11,7 @@ import com.gyee.common.vo.benchmark.FjjxbmxVo;
|
|
import com.gyee.common.vo.benchmark.WxsslVo;
|
|
import com.gyee.common.vo.benchmark.WxsslVo;
|
|
import com.gyee.runeconomy.dto.R;
|
|
import com.gyee.runeconomy.dto.R;
|
|
import com.gyee.runeconomy.dto.ResultMsg;
|
|
import com.gyee.runeconomy.dto.ResultMsg;
|
|
|
|
+import com.gyee.runeconomy.model.auto.ProBasicOrganizeTree;
|
|
import com.gyee.runeconomy.service.bmk.BenchmarkingService;
|
|
import com.gyee.runeconomy.service.bmk.BenchmarkingService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -68,7 +68,7 @@ public class BenchmarkingController {
|
|
|
|
|
|
@GetMapping(value = "/alllist")
|
|
@GetMapping(value = "/alllist")
|
|
@ApiOperation(value = "场站之后列表", notes = "场站之后列表")
|
|
@ApiOperation(value = "场站之后列表", notes = "场站之后列表")
|
|
- public R alllist(@RequestParam(value = " ", required = true) String ids,
|
|
|
|
|
|
+ public R alllist(@RequestParam(value = "ids", required = true) String ids,
|
|
@RequestParam(value = "type", required = false) String type) {
|
|
@RequestParam(value = "type", required = false) String type) {
|
|
|
|
|
|
List<ProBasicOrganizeTree> resultList = benchmarkingService.allList(ids,type);
|
|
List<ProBasicOrganizeTree> resultList = benchmarkingService.allList(ids,type);
|
|
@@ -79,6 +79,18 @@ public class BenchmarkingController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @GetMapping(value = "/treeList")
|
|
|
|
+ @ApiOperation(value = "场站之后列表", notes = "场站之后列表")
|
|
|
|
+ public R treeList(@RequestParam(value = "type", required = false) String type) {
|
|
|
|
+
|
|
|
|
+ List<ProBasicOrganizeTree> resultList = benchmarkingService.treeList(type);
|
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
|
+ } else {
|
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
@GetMapping(value = "/pjByWplist")
|
|
@GetMapping(value = "/pjByWplist")
|
|
@ApiOperation(value = "项目列表", notes = "项目列表")
|
|
@ApiOperation(value = "项目列表", notes = "项目列表")
|
|
public R pjByWplist(@RequestParam(value = "wpids", required = true) String wpids) {
|
|
public R pjByWplist(@RequestParam(value = "wpids", required = true) String wpids) {
|