|
@@ -11,10 +11,7 @@ import com.gyee.common.vo.benchmark.FjjxbmxVo;
|
|
|
import com.gyee.common.vo.benchmark.WxsslVo;
|
|
|
import com.gyee.runeconomy.dto.R;
|
|
|
import com.gyee.runeconomy.dto.ResultMsg;
|
|
|
-import com.gyee.runeconomy.model.auto.ProBasicCompany;
|
|
|
-import com.gyee.runeconomy.model.auto.ProBasicLine;
|
|
|
-import com.gyee.runeconomy.model.auto.ProBasicPowerstation;
|
|
|
-import com.gyee.runeconomy.model.auto.ProBasicProject;
|
|
|
+import com.gyee.runeconomy.model.auto.*;
|
|
|
import com.gyee.runeconomy.service.bmk.BenchmarkingService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -67,6 +64,21 @@ public class BenchmarkingController {
|
|
|
return R.error(ResultMsg.error());
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping(value = "/subByCplist")
|
|
|
+ @ApiOperation(value = "升压站列表", notes = "升压站列表")
|
|
|
+ public R subByCplist(@RequestParam(value = "companyids", required = true) String companyids,
|
|
|
+ @RequestParam(value = "type", required = false) String type) {
|
|
|
+
|
|
|
+ List<ProBasicSubStation> resultList = benchmarkingService.subByCplist(companyids,type);
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping(value = "/pjByWplist")
|
|
|
@ApiOperation(value = "项目列表", notes = "项目列表")
|
|
|
public R pjByWplist(@RequestParam(value = "wpids", required = true) String wpids) {
|