|
@@ -119,16 +119,37 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/performance2")
|
|
|
+ @ApiOperation(value = "风机绩效榜", notes = "风机绩效榜")
|
|
|
+ public R performance2(@RequestParam(value = "companyid") String companyid,
|
|
|
+ @RequestParam(value = "getype") String getype,
|
|
|
+ @RequestParam(value = "sttype") String sttype,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "lineids") String lineids,
|
|
|
+ @RequestParam(value = "target", required = false) String target,
|
|
|
+ @RequestParam(value = "sort", required = false) String sort) {
|
|
|
+ List<FjjxbVo> resultList = benchmarkingService.performance2(companyid, getype, sttype, beginDate, endDate, wpids, projectids, lineids, target, sort);
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@GetMapping(value = "/performance")
|
|
|
@ApiOperation(value = "风机绩效榜", notes = "风机绩效榜")
|
|
|
- public R performance(@RequestParam(value = "companyid", required = true) String companyid,
|
|
|
- @RequestParam(value = "getype", required = true) String getype,
|
|
|
- @RequestParam(value = "sttype", required = true) String sttype,
|
|
|
- @RequestParam(value = "beginDate", required = true) String beginDate,
|
|
|
- @RequestParam(value = "endDate", required = true) String endDate,
|
|
|
- @RequestParam(value = "wpids", required = true) String wpids,
|
|
|
- @RequestParam(value = "projectids", required = true) String projectids,
|
|
|
- @RequestParam(value = "lineids", required = true) String lineids,
|
|
|
+ public R performance(@RequestParam(value = "companyid") String companyid,
|
|
|
+ @RequestParam(value = "getype") String getype,
|
|
|
+ @RequestParam(value = "sttype") String sttype,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "lineids") String lineids,
|
|
|
@RequestParam(value = "target", required = false) String target,
|
|
|
@RequestParam(value = "sort", required = false) String sort) {
|
|
|
List<FjjxbVo> resultList = benchmarkingService.performance(companyid, getype, sttype, beginDate, endDate, wpids, projectids, lineids, target, sort);
|
|
@@ -139,6 +160,7 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@GetMapping(value = "/performanceMX")
|
|
|
@ApiOperation(value = "风机绩效榜明细", notes = "风机绩效榜明细")
|
|
|
public R performanceMX(@RequestParam(value = "companyid", required = true) String companyid,
|
|
@@ -160,18 +182,41 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @GetMapping("/wxssl2")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "五项损失率", notes = "五项损失率")
|
|
|
+ public R wxssl2(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "lineids") String lineids,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort
|
|
|
+ ) {
|
|
|
+ List<WxsslVo> resultList = benchmarkingService.wxssl2(companys, type, wpids, projectids, lineids, beginDate, endDate, target, sort);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@GetMapping("/wxssl")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "五项损失率", notes = "五项损失率")
|
|
|
- public R wxssl(@RequestParam(value = "companys", required = true) String companys,
|
|
|
- @RequestParam(value = "type", required = true) String type,
|
|
|
- @RequestParam(value = "wpids", required = true) String wpids,
|
|
|
- @RequestParam(value = "projectids", required = true) String projectids,
|
|
|
- @RequestParam(value = "lineids", required = true) String lineids,
|
|
|
- @RequestParam(value = "beginDate", required = true) String beginDate,
|
|
|
- @RequestParam(value = "endDate", required = true) String endDate,
|
|
|
- @RequestParam(value = "target", required = true) String target,
|
|
|
- @RequestParam(value = "sort", required = true) String sort
|
|
|
+ public R wxssl(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "lineids") String lineids,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort
|
|
|
) {
|
|
|
List<WxsslVo> resultList = benchmarkingService.wxssl(companys, type, wpids, projectids, lineids, beginDate, endDate, target, sort);
|
|
|
|
|
@@ -182,10 +227,11 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/cndb")
|
|
|
+
|
|
|
+ @GetMapping("/cndb2")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "场内对标", notes = "场内对标")
|
|
|
- public R cndb(@RequestParam(value = "companys", required = true) String companys,
|
|
|
+ public R cndb2(@RequestParam(value = "companys", required = true) String companys,
|
|
|
@RequestParam(value = "type", required = true) String type,
|
|
|
@RequestParam(value = "wpid", required = true) String wpid,
|
|
|
@RequestParam(value = "beginDate", required = true) String beginDate,
|
|
@@ -195,6 +241,29 @@ public class BenchmarkingController {
|
|
|
@RequestParam(value = "pageNum", required = true) int pageNum,
|
|
|
@RequestParam(value = "pageSize", required = true) int pageSize
|
|
|
) {
|
|
|
+ Map<String, Object> resultList = benchmarkingService.cndb2(companys, type, wpid, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/cndb")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "场内对标", notes = "场内对标")
|
|
|
+ public R cndb(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpid") String wpid,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort,
|
|
|
+ @RequestParam(value = "pageNum") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize") int pageSize
|
|
|
+ ) {
|
|
|
Map<String, Object> resultList = benchmarkingService.cndb(companys, type, wpid, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
|
|
|
if (StringUtils.isNotNull(resultList)) {
|
|
@@ -323,10 +392,10 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @GetMapping("/cjdb")
|
|
|
+ @GetMapping("/cjdb2")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "场际对标", notes = "场际对标")
|
|
|
- public R cjdb(@RequestParam(value = "companys", required = true) String companys,
|
|
|
+ public R cjdb2(@RequestParam(value = "companys", required = true) String companys,
|
|
|
@RequestParam(value = "type", required = true) String type,
|
|
|
@RequestParam(value = "wpids", required = true) String wpids,
|
|
|
@RequestParam(value = "beginDate", required = true) String beginDate,
|
|
@@ -336,6 +405,29 @@ public class BenchmarkingController {
|
|
|
@RequestParam(value = "pageNum", required = true) int pageNum,
|
|
|
@RequestParam(value = "pageSize", required = true) int pageSize
|
|
|
) {
|
|
|
+ Map<String, Object> resultList = benchmarkingService.cjdb2(companys, type, wpids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/cjdb")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "场际对标", notes = "场际对标")
|
|
|
+ public R cjdb(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort,
|
|
|
+ @RequestParam(value = "pageNum") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize") int pageSize
|
|
|
+ ) {
|
|
|
Map<String, Object> resultList = benchmarkingService.cjdb(companys, type, wpids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
|
|
|
if (StringUtils.isNotNull(resultList)) {
|
|
@@ -346,10 +438,10 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @GetMapping("/xmdb")
|
|
|
+ @GetMapping("/xmdb2")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "项目对标", notes = "项目对标")
|
|
|
- public R xmdb(@RequestParam(value = "companys", required = true) String companys,
|
|
|
+ public R xmdb2(@RequestParam(value = "companys", required = true) String companys,
|
|
|
@RequestParam(value = "type", required = true) String type,
|
|
|
@RequestParam(value = "wpids", required = true) String wpids,
|
|
|
@RequestParam(value = "projectids", required = true) String projectids,
|
|
@@ -360,6 +452,30 @@ public class BenchmarkingController {
|
|
|
@RequestParam(value = "pageNum", required = true) int pageNum,
|
|
|
@RequestParam(value = "pageSize", required = true) int pageSize
|
|
|
) {
|
|
|
+ Map<String, Object> resultList = benchmarkingService.xmdb2(companys, type, wpids, projectids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/xmdb")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "项目对标", notes = "项目对标")
|
|
|
+ public R xmdb(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort,
|
|
|
+ @RequestParam(value = "pageNum") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize") int pageSize
|
|
|
+ ) {
|
|
|
Map<String, Object> resultList = benchmarkingService.xmdb(companys, type, wpids, projectids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
|
|
|
if (StringUtils.isNotNull(resultList)) {
|
|
@@ -370,10 +486,11 @@ public class BenchmarkingController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- @GetMapping("/xldb")
|
|
|
+
|
|
|
+ @GetMapping("/xldb2")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "线路对标", notes = "线路对标")
|
|
|
- public R xldb(@RequestParam(value = "companys", required = true) String companys,
|
|
|
+ public R xldb2(@RequestParam(value = "companys", required = true) String companys,
|
|
|
@RequestParam(value = "type", required = true) String type,
|
|
|
@RequestParam(value = "wpids", required = true) String wpids,
|
|
|
@RequestParam(value = "projectids", required = true) String projectids,
|
|
@@ -385,6 +502,31 @@ public class BenchmarkingController {
|
|
|
@RequestParam(value = "pageNum", required = true) int pageNum,
|
|
|
@RequestParam(value = "pageSize", required = true) int pageSize
|
|
|
) {
|
|
|
+ Map<String, Object> resultList = benchmarkingService.xldb2(companys, type, wpids, projectids, lineids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
+
|
|
|
+ if (StringUtils.isNotNull(resultList)) {
|
|
|
+ return R.data(ResultMsg.ok(resultList));
|
|
|
+ } else {
|
|
|
+ return R.error(ResultMsg.error());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/xldb")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "线路对标", notes = "线路对标")
|
|
|
+ public R xldb(@RequestParam(value = "companys") String companys,
|
|
|
+ @RequestParam(value = "type") String type,
|
|
|
+ @RequestParam(value = "wpids") String wpids,
|
|
|
+ @RequestParam(value = "projectids") String projectids,
|
|
|
+ @RequestParam(value = "lineids") String lineids,
|
|
|
+ @RequestParam(value = "beginDate") String beginDate,
|
|
|
+ @RequestParam(value = "endDate") String endDate,
|
|
|
+ @RequestParam(value = "target") String target,
|
|
|
+ @RequestParam(value = "sort") String sort,
|
|
|
+ @RequestParam(value = "pageNum") int pageNum,
|
|
|
+ @RequestParam(value = "pageSize") int pageSize
|
|
|
+ ) {
|
|
|
Map<String, Object> resultList = benchmarkingService.xldb(companys, type, wpids, projectids, lineids, beginDate, endDate, target, sort, pageNum, pageSize);
|
|
|
|
|
|
if (StringUtils.isNotNull(resultList)) {
|