Browse Source

KPI展示页面后端代码

hlf 1 year ago
parent
commit
7d11d11ccd
37 changed files with 1603 additions and 1 deletions
  1. 65 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/OperationEvaluateController.java
  2. 65 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/OverhaulEvaluateController.java
  3. 66 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/SpSynthesisEvaluateController.java
  4. 66 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/WfSynthesisEvaluateController.java
  5. 86 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OperationEvaluate.java
  6. 45 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OperationEvaluateContent.java
  7. 87 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OverhaulEvaluate.java
  8. 45 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OverhaulEvaluateContent.java
  9. 116 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/SpSynthesisEvaluate.java
  10. 45 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/SpSynthesisEvaluateContent.java
  11. 124 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/WfSynthesisEvaluate.java
  12. 45 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/WfSynthesisEvaluateContent.java
  13. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OperationEvaluateContentMapper.java
  14. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OperationEvaluateMapper.java
  15. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OverhaulEvaluateContentMapper.java
  16. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OverhaulEvaluateMapper.java
  17. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/SpSynthesisEvaluateContentMapper.java
  18. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/SpSynthesisEvaluateMapper.java
  19. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/WfSynthesisEvaluateContentMapper.java
  20. 13 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/WfSynthesisEvaluateMapper.java
  21. 17 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOperationEvaluateContentService.java
  22. 19 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOperationEvaluateService.java
  23. 17 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOverhaulEvaluateContentService.java
  24. 19 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOverhaulEvaluateService.java
  25. 17 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/ISpSynthesisEvaluateContentService.java
  26. 19 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/ISpSynthesisEvaluateService.java
  27. 17 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IWfSynthesisEvaluateContentService.java
  28. 19 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IWfSynthesisEvaluateService.java
  29. 33 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OperationEvaluateContentServiceImpl.java
  30. 78 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OperationEvaluateServiceImpl.java
  31. 33 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OverhaulEvaluateContentServiceImpl.java
  32. 78 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OverhaulEvaluateServiceImpl.java
  33. 33 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/SpSynthesisEvaluateContentServiceImpl.java
  34. 102 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/SpSynthesisEvaluateServiceImpl.java
  35. 33 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/WfSynthesisEvaluateContentServiceImpl.java
  36. 108 0
      web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/WfSynthesisEvaluateServiceImpl.java
  37. 2 1
      web/runeconomy-xk/src/main/resources/application-jn.yml

+ 65 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/OperationEvaluateController.java

@@ -0,0 +1,65 @@
+package com.gyee.jinneng_kpi.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.gyee.common.config.R;
+import com.gyee.jinneng_kpi.domain.OperationEvaluate;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+import com.gyee.jinneng_kpi.service.IOperationEvaluateContentService;
+import com.gyee.jinneng_kpi.service.IOperationEvaluateService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 15:13
+ * 文件说明:运行评价
+ */
+@Slf4j
+@RestController
+@RequestMapping("//operation-evaluate")
+public class OperationEvaluateController {
+
+    @Resource
+    private IOperationEvaluateService operationEvaluateService;
+
+    @Resource
+    private IOperationEvaluateContentService operationEvaluateContentService;
+
+    /**
+     * 运行评价列表信息(分页)
+     *
+     * @param pageNum  当前记录起始索引
+     * @param pageSize 每页显示记录数
+     * @param years    年
+     * @param month    月
+     * @return 结果
+     */
+    @GetMapping(value = "/list")
+    public R list(
+            @RequestParam(value = "pageNum") Integer pageNum,
+            @RequestParam(value = "pageSize") Integer pageSize,
+            @RequestParam(value = "years", required = false) Integer years,
+            @RequestParam(value = "month", required = false) Integer month) {
+        Page<OperationEvaluate> page = new Page<>(pageNum, pageSize);
+        IPage<OperationEvaluate> list = operationEvaluateService.pageList(page, years, month);
+        List<OperationEvaluate> operationEvaluateList = list.getRecords();
+        for (OperationEvaluate operationEvaluate : operationEvaluateList) {
+            double count = 0;
+            List<OperationEvaluateContent> operationEvaluateContentList = operationEvaluateContentService.operationEvaluateContentListByOperationEvaluateId(operationEvaluate.getId());
+            for (OperationEvaluateContent operationEvaluateContent : operationEvaluateContentList) {
+                count += Double.parseDouble(operationEvaluateContent.getFinalValue());
+                operationEvaluateService.insertData(operationEvaluate, operationEvaluateContent);
+            }
+            //总评分
+            operationEvaluate.setRemark(String.valueOf(count));
+        }
+        return R.ok().data(list);
+    }
+}

+ 65 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/OverhaulEvaluateController.java

@@ -0,0 +1,65 @@
+package com.gyee.jinneng_kpi.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.gyee.common.config.R;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluate;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+import com.gyee.jinneng_kpi.service.IOverhaulEvaluateContentService;
+import com.gyee.jinneng_kpi.service.IOverhaulEvaluateService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 15:15
+ * 文件说明:检修评价
+ */
+@Slf4j
+@RestController
+@RequestMapping("//overhaul-evaluate")
+public class OverhaulEvaluateController {
+
+    @Resource
+    private IOverhaulEvaluateService overhaulEvaluateService;
+
+    @Resource
+    private IOverhaulEvaluateContentService overhaulEvaluateContentService;
+
+    /**
+     * 检修评价列表信息(分页)
+     *
+     * @param pageNum  当前记录起始索引
+     * @param pageSize 每页显示记录数
+     * @param years    年
+     * @param month    月
+     * @return 结果
+     */
+    @GetMapping(value = "/list")
+    public R list(
+            @RequestParam(value = "pageNum") Integer pageNum,
+            @RequestParam(value = "pageSize") Integer pageSize,
+            @RequestParam(value = "years", required = false) Integer years,
+            @RequestParam(value = "month", required = false) Integer month) {
+        Page<OverhaulEvaluate> page = new Page<>(pageNum, pageSize);
+        IPage<OverhaulEvaluate> list = overhaulEvaluateService.pageList(page, years, month);
+        List<OverhaulEvaluate> overhaulEvaluateList = list.getRecords();
+        for (OverhaulEvaluate overhaulEvaluate : overhaulEvaluateList) {
+            double count = 0;
+            List<OverhaulEvaluateContent> overhaulEvaluateContentList = overhaulEvaluateContentService.overhaulEvaluateContentListByOverhaulEvaluateId(overhaulEvaluate.getId());
+            for (OverhaulEvaluateContent overhaulEvaluateContent : overhaulEvaluateContentList) {
+                count += Double.parseDouble(overhaulEvaluateContent.getFinalValue());
+                overhaulEvaluateService.insertData(overhaulEvaluate, overhaulEvaluateContent);
+            }
+            //总评分
+            overhaulEvaluate.setRemark(String.valueOf(count));
+        }
+        return R.ok().data(list);
+    }
+}

+ 66 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/SpSynthesisEvaluateController.java

@@ -0,0 +1,66 @@
+package com.gyee.jinneng_kpi.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.gyee.common.config.R;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.service.ISpSynthesisEvaluateContentService;
+import com.gyee.jinneng_kpi.service.ISpSynthesisEvaluateService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 15:15
+ * 文件说明:光伏场站综合评价
+ */
+@Slf4j
+@RestController
+@RequestMapping("//sp-synthesis-evaluate")
+public class SpSynthesisEvaluateController {
+
+    @Resource
+    private ISpSynthesisEvaluateService spSynthesisEvaluateService;
+
+    @Resource
+    private ISpSynthesisEvaluateContentService spSynthesisEvaluateContentService;
+
+    /**
+     * 光伏场站综合评价列表信息(分页)
+     *
+     * @param pageNum  当前记录起始索引
+     * @param pageSize 每页显示记录数
+     * @param years    年
+     * @param month    月
+     * @return 结果
+     */
+    @GetMapping(value = "/list")
+    public R list(
+            @RequestParam(value = "pageNum") Integer pageNum,
+            @RequestParam(value = "pageSize") Integer pageSize,
+            @RequestParam(value = "years", required = false) Integer years,
+            @RequestParam(value = "month", required = false) Integer month) {
+        Page<SpSynthesisEvaluate> page = new Page<>(pageNum, pageSize);
+        IPage<SpSynthesisEvaluate> list = spSynthesisEvaluateService.pageList(page, years, month);
+        List<SpSynthesisEvaluate> spSynthesisEvaluateList = list.getRecords();
+        for (SpSynthesisEvaluate spSynthesisEvaluate : spSynthesisEvaluateList) {
+            double count = 0;
+            List<SpSynthesisEvaluateContent> spSynthesisEvaluateContentList = spSynthesisEvaluateContentService.spSynthesisEvaluateContentListBySynthesisEvaluateId(spSynthesisEvaluate.getId());
+            for (SpSynthesisEvaluateContent spSynthesisEvaluateContent : spSynthesisEvaluateContentList) {
+                count += Double.parseDouble(spSynthesisEvaluateContent.getFinalValue());
+                spSynthesisEvaluateService.insertData(spSynthesisEvaluate, spSynthesisEvaluateContent);
+            }
+            //总评分
+            spSynthesisEvaluate.setRemark(String.valueOf(count));
+        }
+        return R.ok().data(list);
+    }
+
+}

+ 66 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/controller/WfSynthesisEvaluateController.java

@@ -0,0 +1,66 @@
+package com.gyee.jinneng_kpi.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.gyee.common.config.R;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.service.IWfSynthesisEvaluateContentService;
+import com.gyee.jinneng_kpi.service.IWfSynthesisEvaluateService;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 15:15
+ * 文件说明:风电场站综合评价
+ */
+@Slf4j
+@RestController
+@RequestMapping("//wf-synthesis-evaluate")
+public class WfSynthesisEvaluateController {
+
+    @Resource
+    private IWfSynthesisEvaluateService wfSynthesisEvaluateService;
+
+    @Resource
+    private IWfSynthesisEvaluateContentService wfSynthesisEvaluateContentService;
+
+    /**
+     * 风电场站综合评价列表信息(分页)
+     *
+     * @param pageNum  当前记录起始索引
+     * @param pageSize 每页显示记录数
+     * @param years    年
+     * @param month    月
+     * @return 结果
+     */
+    @GetMapping(value = "/list")
+    public R list(
+            @RequestParam(value = "pageNum") Integer pageNum,
+            @RequestParam(value = "pageSize") Integer pageSize,
+            @RequestParam(value = "years", required = false) Integer years,
+            @RequestParam(value = "month", required = false) Integer month) {
+        Page<WfSynthesisEvaluate> page = new Page<>(pageNum, pageSize);
+        IPage<WfSynthesisEvaluate> list = wfSynthesisEvaluateService.pageList(page, years, month);
+        List<WfSynthesisEvaluate> wfSynthesisEvaluateList = list.getRecords();
+        for (WfSynthesisEvaluate wfSynthesisEvaluate : wfSynthesisEvaluateList) {
+            double count = 0;
+            List<WfSynthesisEvaluateContent> wfSynthesisEvaluateContentList = wfSynthesisEvaluateContentService.wfSynthesisEvaluateContentListBySynthesisEvaluateId(wfSynthesisEvaluate.getId());
+            for (WfSynthesisEvaluateContent wfSynthesisEvaluateContent : wfSynthesisEvaluateContentList) {
+                count += Double.parseDouble(wfSynthesisEvaluateContent.getFinalValue());
+                wfSynthesisEvaluateService.insertData(wfSynthesisEvaluate, wfSynthesisEvaluateContent);
+            }
+            //总评分
+            wfSynthesisEvaluate.setRemark(String.valueOf(count));
+        }
+        return R.ok().data(list);
+    }
+
+}

+ 86 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OperationEvaluate.java

@@ -0,0 +1,86 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:26
+ * 文件说明:运行评价
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class OperationEvaluate extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //场站主键
+    private Long stationId;
+
+    //场站名称
+    private String stationName;
+
+    //运行班组
+    private String runningTeam;
+
+    //年
+    private Integer years;
+
+    //月
+    private Integer month;
+
+    //备注
+    private String remark;
+
+    //风能利用率
+    private String fnlyl_value;
+    private String fnlyl_mark;
+
+    //限电损失率
+    private String xdssl_value;
+    private String xdssl_mark;
+
+    //性能损失率
+    private String xnssl_value;
+    private String xnssl_mark;
+
+    //复位及时率
+    private String fwjsl_value;
+    private String fwjsl_mark;
+
+    //状态转换及时率
+    private String ztzhjsl_value;
+    private String ztzhjsl_mark;
+
+    //缺陷下单及时率
+    private String qxxdjsl_value;
+    private String qxxdjsl_mark;
+
+    //缺陷验收及时率
+    private String qxysjsl_value;
+    private String qxysjsl_mark;
+
+    //平均小风切入风速
+    private String pjxfqrfs_value;
+    private String pjxfqrfs_mark;
+
+    //MTTF
+    private String mttf_value;
+    private String mttf_mark;
+
+    //设备利用小时
+    private String sblyxs_value;
+    private String sblyxs_mark;
+
+    //综合厂用电率
+    private String zhcydl_value;
+    private String zhcydl_mark;
+
+    //隐患发现准确率
+    private String yhfxzql_value;
+    private String yhfxzql_mark;
+}

+ 45 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OperationEvaluateContent.java

@@ -0,0 +1,45 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:29
+ * 文件说明:
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class OperationEvaluateContent extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //业务主键
+    private Long operationEvaluateId;
+
+    //类别
+    private String categoryName;
+
+    //指标
+    private String indexName;
+
+    //单位
+    private String unit;
+
+    //周期
+    private String cycle;
+
+    //权重
+    private Integer weight;
+
+    //指标值
+    private String content;
+
+    //最终得分
+    private String finalValue;
+
+}

+ 87 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OverhaulEvaluate.java

@@ -0,0 +1,87 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:32
+ * 文件说明:检修评价
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class OverhaulEvaluate extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //场站主键
+    private Long stationId;
+
+    //场站名称
+    private String stationName;
+
+    //检修班组
+    private String overhaulTeam;
+
+    //年
+    private Integer years;
+
+    //月
+    private Integer month;
+
+    //备注
+    private String remark;
+
+    //风能利用率
+    private String fnlyl_value;
+    private String fnlyl_mark;
+
+    //计划检修损失率
+    private String jhjxssl_value;
+    private String jhjxssl_mark;
+
+    //非计划检修损失率
+    private String fjhjxssl_value;
+    private String fjhjxssl_mark;
+
+    //缺陷单接单及时率
+    private String qxdjdjsl_value;
+    private String qxdjdjsl_mark;
+
+    //到达消缺地点及时率
+    private String ddxqddjsl_value;
+    private String ddxqddjsl_mark;
+
+    //真实消缺及时率
+    private String zsxqjsl_value;
+    private String zsxqjsl_mark;
+
+    //MTBF
+    private String mtbf_value;
+    private String mtbf_mark;
+
+    //MTTR
+    private String mttr_value;
+    private String mttr_mark;
+
+    //设备利用小时
+    private String sblyxs_value;
+    private String sblyxs_mark;
+
+    //设备可利用率
+    private String sbklyl_value;
+    private String sbklyl_mark;
+
+    //等效可用系数
+    private String dxkyxs_value;
+    private String dxkyxs_mark;
+
+    //隐患发现准确率
+    private String yhfxzql_value;
+    private String yhfxzql_mark;
+
+}

+ 45 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/OverhaulEvaluateContent.java

@@ -0,0 +1,45 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:33
+ * 文件说明:
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class OverhaulEvaluateContent extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //业务主键
+    private Long overhaulEvaluateId;
+
+    //类别
+    private String categoryName;
+
+    //指标
+    private String indexName;
+
+    //单位
+    private String unit;
+
+    //周期
+    private String cycle;
+
+    //权重
+    private Integer weight;
+
+    //指标值
+    private String content;
+
+    //最终得分
+    private String finalValue;
+
+}

+ 116 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/SpSynthesisEvaluate.java

@@ -0,0 +1,116 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:35
+ * 文件说明:光伏场站综合评价
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class SpSynthesisEvaluate extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //场站主键
+    private Long stationId;
+
+    //场站名称
+    private String stationName;
+
+    //年
+    private Integer years;
+
+    //月
+    private Integer month;
+
+    //备注
+    private String remark;
+
+    //人身、设备事故
+    private String rssbsg_value;
+    private String rssbsg_mark;
+
+    //设备一类障碍
+    private String sbylza_value;
+    private String sbylza_mark;
+
+    //光能利用率
+    private String gnlyl_value;
+    private String gnlyl_mark;
+
+    //计划检修损失率
+    private String jhjxssl_value;
+    private String jhjxssl_mark;
+
+    //非计划检修损失率
+    private String fjhjxssl_value;
+    private String fjhjxssl_mark;
+
+    //限电损失率
+    private String xdssl_value;
+    private String xdssl_mark;
+
+    //性能损失率
+    private String xnssl_value;
+    private String xnssl_mark;
+
+    //复位及时率
+    private String fwjsl_value;
+    private String fwjsl_mark;
+
+    //状态转换及时率
+    private String ztzhjsl_value;
+    private String ztzhjsl_mark;
+
+    //故障处理及时率
+    private String gzcljsl_value;
+    private String gzcljsl_mark;
+
+    //MTBF
+    private String mtbf_value;
+    private String mtbf_mark;
+
+    //MTTF
+    private String mttf_value;
+    private String mttf_mark;
+
+    //MTTR
+    private String mttr_value;
+    private String mttr_mark;
+
+    //设备利用小时
+    private String sblyxs_value;
+    private String sblyxs_mark;
+
+    //综合厂用电率
+    private String zhcydl_value;
+    private String zhcydl_mark;
+
+    //设备可利用率
+    private String sbklyl_value;
+    private String sbklyl_mark;
+
+    //等效可用系数
+    private String dxkyxs_value;
+    private String dxkyxs_mark;
+
+    //隐患发现准确率
+    private String yhfxzql_value;
+    private String yhfxzql_mark;
+
+    //光功率预测准确率
+    private String gglyczql_value;
+    private String gglyczql_mark;
+
+    //累计辐射总量
+    private String ljfszl_value;
+    private String ljfszl_mark;
+
+}

+ 45 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/SpSynthesisEvaluateContent.java

@@ -0,0 +1,45 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:36
+ * 文件说明:
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class SpSynthesisEvaluateContent extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //业务主键
+    private Long synthesisEvaluateId;
+
+    //类别
+    private String categoryName;
+
+    //指标
+    private String indexName;
+
+    //单位
+    private String unit;
+
+    //周期
+    private String cycle;
+
+    //权重
+    private Integer weight;
+
+    //指标值
+    private String content;
+
+    //最终得分
+    private String finalValue;
+
+}

+ 124 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/WfSynthesisEvaluate.java

@@ -0,0 +1,124 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:38
+ * 文件说明:风电场站综合评价
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class WfSynthesisEvaluate extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //场站主键
+    private Long stationId;
+
+    //场站名称
+    private String stationName;
+
+    //年
+    private Integer years;
+
+    //月
+    private Integer month;
+
+    //备注
+    private String remark;
+
+    //人身、设备事故
+    private String rssbsg_value;
+    private String rssbsg_mark;
+
+    //设备一类障碍
+    private String sbylza_value;
+    private String sbylza_mark;
+
+    //风能利用率
+    private String fnlyl_value;
+    private String fnlyl_mark;
+
+    //计划检修损失率
+    private String jhjxssl_value;
+    private String jhjxssl_mark;
+
+    //非计划检修损失率
+    private String fjhjxssl_value;
+    private String fjhjxssl_mark;
+
+    //限电损失率
+    private String xdssl_value;
+    private String xdssl_mark;
+
+    //性能损失率
+    private String xnssl_value;
+    private String xnssl_mark;
+
+    //复位及时率
+    private String fwjsl_value;
+    private String fwjsl_mark;
+
+    //状态转换及时率
+    private String ztzhjsl_value;
+    private String ztzhjsl_mark;
+
+    //故障处理及时率
+    private String gzcljsl_value;
+    private String gzcljsl_mark;
+
+    //MTBF
+    private String mtbf_value;
+    private String mtbf_mark;
+
+    //MTTF
+    private String mttf_value;
+    private String mttf_mark;
+
+    //MTTR
+    private String mttr_value;
+    private String mttr_mark;
+
+    //设备利用小时
+    private String sblyxs_value;
+    private String sblyxs_mark;
+
+    //综合厂用电率
+    private String zhcydl_value;
+    private String zhcydl_mark;
+
+    //设备可利用率
+    private String sbklyl_value;
+    private String sbklyl_mark;
+
+    //等效可用系数
+    private String dxkyxs_value;
+    private String dxkyxs_mark;
+
+    //隐患发现准确率
+    private String yhfxzql_value;
+    private String yhfxzql_mark;
+
+    //风功率预测准确率
+    private String fglyczql_value;
+    private String fglyczql_mark;
+
+    //平均风速
+    private String pjfs_value;
+    private String pjfs_mark;
+
+    //静风频率
+    private String jfpl_value;
+    private String jfpl_mark;
+
+    //有效风时率
+    private String yxfsl_value;
+    private String yxfsl_mark;
+
+}

+ 45 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/domain/WfSynthesisEvaluateContent.java

@@ -0,0 +1,45 @@
+package com.gyee.jinneng_kpi.domain;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author hlf
+ * @date 2023/10/24 14:39
+ * 文件说明:
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class WfSynthesisEvaluateContent extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    //主键
+    private Long id;
+
+    //业务主键
+    private Long synthesisEvaluateId;
+
+    //类别
+    private String categoryName;
+
+    //指标
+    private String indexName;
+
+    //单位
+    private String unit;
+
+    //周期
+    private String cycle;
+
+    //权重
+    private Integer weight;
+
+    //指标值
+    private String content;
+
+    //最终得分
+    private String finalValue;
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OperationEvaluateContentMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+
+/**
+ * 运行评价内容 Mapper
+ *
+ * @author hlf
+ */
+public interface OperationEvaluateContentMapper extends BaseMapper<OperationEvaluateContent> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OperationEvaluateMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.OperationEvaluate;
+
+/**
+ * 运行评价 Mapper
+ *
+ * @author hlf
+ */
+public interface OperationEvaluateMapper extends BaseMapper<OperationEvaluate> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OverhaulEvaluateContentMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+
+/**
+ * 检修评价内容 Mapper
+ *
+ * @author hlf
+ */
+public interface OverhaulEvaluateContentMapper extends BaseMapper<OverhaulEvaluateContent> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/OverhaulEvaluateMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluate;
+
+/**
+ * 检修评价 Mapper
+ *
+ * @author hlf
+ */
+public interface OverhaulEvaluateMapper extends BaseMapper<OverhaulEvaluate> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/SpSynthesisEvaluateContentMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+
+/**
+ * 光伏场站综合评价内容 Mapper
+ *
+ * @author hlf
+ */
+public interface SpSynthesisEvaluateContentMapper extends BaseMapper<SpSynthesisEvaluateContent> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/SpSynthesisEvaluateMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluate;
+
+/**
+ * 光伏场站综合评价 Mapper
+ *
+ * @author hlf
+ */
+public interface SpSynthesisEvaluateMapper extends BaseMapper<SpSynthesisEvaluate> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/WfSynthesisEvaluateContentMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+
+/**
+ * 风电场站综合评价内容 Mapper
+ *
+ * @author hlf
+ */
+public interface WfSynthesisEvaluateContentMapper extends BaseMapper<WfSynthesisEvaluateContent> {
+
+}

+ 13 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/mapper/WfSynthesisEvaluateMapper.java

@@ -0,0 +1,13 @@
+package com.gyee.jinneng_kpi.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluate;
+
+/**
+ * 风电场站综合评价 Mapper
+ *
+ * @author hlf
+ */
+public interface WfSynthesisEvaluateMapper extends BaseMapper<WfSynthesisEvaluate> {
+
+}

+ 17 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOperationEvaluateContentService.java

@@ -0,0 +1,17 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+
+import java.util.List;
+
+/**
+ * 运行评价内容 Service 接口
+ *
+ * @author hlf
+ */
+public interface IOperationEvaluateContentService extends IService<OperationEvaluateContent> {
+
+    List<OperationEvaluateContent> operationEvaluateContentListByOperationEvaluateId(Long operationEvaluateId);
+
+}

+ 19 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOperationEvaluateService.java

@@ -0,0 +1,19 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.OperationEvaluate;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+
+/**
+ * 运行评价 Service 接口
+ *
+ * @author hlf
+ */
+public interface IOperationEvaluateService extends IService<OperationEvaluate> {
+
+    IPage<OperationEvaluate> pageList(Page<OperationEvaluate> page, Integer years, Integer month);
+
+    void insertData(OperationEvaluate operationEvaluate, OperationEvaluateContent operationEvaluateContent);
+}

+ 17 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOverhaulEvaluateContentService.java

@@ -0,0 +1,17 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+
+import java.util.List;
+
+/**
+ * 检修评价内容 Service 接口
+ *
+ * @author hlf
+ */
+public interface IOverhaulEvaluateContentService extends IService<OverhaulEvaluateContent> {
+
+    List<OverhaulEvaluateContent> overhaulEvaluateContentListByOverhaulEvaluateId(Long overhaulEvaluateId);
+
+}

+ 19 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IOverhaulEvaluateService.java

@@ -0,0 +1,19 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluate;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+
+/**
+ * 检修评价 Service 接口
+ *
+ * @author hlf
+ */
+public interface IOverhaulEvaluateService extends IService<OverhaulEvaluate> {
+
+    IPage<OverhaulEvaluate> pageList(Page<OverhaulEvaluate> page, Integer years, Integer month);
+
+    void insertData(OverhaulEvaluate overhaulEvaluate, OverhaulEvaluateContent overhaulEvaluateContent);
+}

+ 17 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/ISpSynthesisEvaluateContentService.java

@@ -0,0 +1,17 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+
+import java.util.List;
+
+/**
+ * 光伏场站综合评价内容 Service 接口
+ *
+ * @author hlf
+ */
+public interface ISpSynthesisEvaluateContentService extends IService<SpSynthesisEvaluateContent> {
+
+    List<SpSynthesisEvaluateContent> spSynthesisEvaluateContentListBySynthesisEvaluateId(Long synthesisEvaluateId);
+
+}

+ 19 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/ISpSynthesisEvaluateService.java

@@ -0,0 +1,19 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+
+/**
+ * 光伏场站综合评价 Service 接口
+ *
+ * @author hlf
+ */
+public interface ISpSynthesisEvaluateService extends IService<SpSynthesisEvaluate> {
+
+    IPage<SpSynthesisEvaluate> pageList(Page<SpSynthesisEvaluate> page, Integer years, Integer month);
+
+    void insertData(SpSynthesisEvaluate spSynthesisEvaluate, SpSynthesisEvaluateContent spSynthesisEvaluateContent);
+}

+ 17 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IWfSynthesisEvaluateContentService.java

@@ -0,0 +1,17 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+
+import java.util.List;
+
+/**
+ * 风电场站综合评价内容 Service 接口
+ *
+ * @author hlf
+ */
+public interface IWfSynthesisEvaluateContentService extends IService<WfSynthesisEvaluateContent> {
+
+    List<WfSynthesisEvaluateContent> wfSynthesisEvaluateContentListBySynthesisEvaluateId(Long synthesisEvaluateId);
+
+}

+ 19 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/IWfSynthesisEvaluateService.java

@@ -0,0 +1,19 @@
+package com.gyee.jinneng_kpi.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+
+/**
+ * 风电场站综合评价 Service 接口
+ *
+ * @author hlf
+ */
+public interface IWfSynthesisEvaluateService extends IService<WfSynthesisEvaluate> {
+
+    IPage<WfSynthesisEvaluate> pageList(Page<WfSynthesisEvaluate> page, Integer years, Integer month);
+
+    void insertData(WfSynthesisEvaluate wfSynthesisEvaluate, WfSynthesisEvaluateContent wfSynthesisEvaluateContent);
+}

+ 33 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OperationEvaluateContentServiceImpl.java

@@ -0,0 +1,33 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.OperationEvaluateContentMapper;
+import com.gyee.jinneng_kpi.service.IOperationEvaluateContentService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * 运行评价内容 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class OperationEvaluateContentServiceImpl extends ServiceImpl<OperationEvaluateContentMapper, OperationEvaluateContent> implements IOperationEvaluateContentService {
+
+    @Resource
+    private OperationEvaluateContentMapper operationEvaluateContentMapper;
+
+    @Override
+    public List<OperationEvaluateContent> operationEvaluateContentListByOperationEvaluateId(Long operationEvaluateId) {
+        QueryWrapper<OperationEvaluateContent> qw = new QueryWrapper<>();
+        if (null != operationEvaluateId) {
+            qw.lambda().eq(OperationEvaluateContent::getOperationEvaluateId, operationEvaluateId);
+        }
+        qw.lambda().orderByAsc(OperationEvaluateContent::getId);
+        return operationEvaluateContentMapper.selectList(qw);
+    }
+}

+ 78 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OperationEvaluateServiceImpl.java

@@ -0,0 +1,78 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.OperationEvaluate;
+import com.gyee.jinneng_kpi.domain.OperationEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.OperationEvaluateMapper;
+import com.gyee.jinneng_kpi.service.IOperationEvaluateService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * 运行评价 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class OperationEvaluateServiceImpl extends ServiceImpl<OperationEvaluateMapper, OperationEvaluate> implements IOperationEvaluateService {
+
+    @Resource
+    private OperationEvaluateMapper operationEvaluateMapper;
+
+    @Override
+    public IPage<OperationEvaluate> pageList(Page<OperationEvaluate> page, Integer years, Integer month) {
+        QueryWrapper<OperationEvaluate> qw = new QueryWrapper<>();
+        if (null != years) {
+            qw.lambda().eq(OperationEvaluate::getYears, years);
+        }
+        if (null != month) {
+            qw.lambda().eq(OperationEvaluate::getMonth, month);
+        }
+        return operationEvaluateMapper.selectPage(page, qw);
+    }
+
+    @Override
+    public void insertData(OperationEvaluate operationEvaluate, OperationEvaluateContent operationEvaluateContent) {
+        if ("风能利用率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setFnlyl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setFnlyl_value(operationEvaluateContent.getContent());
+        } else if ("限电损失率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setXdssl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setXdssl_value(operationEvaluateContent.getContent());
+        } else if ("性能损失率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setXnssl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setXnssl_value(operationEvaluateContent.getContent());
+        } else if ("复位及时率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setFwjsl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setFwjsl_value(operationEvaluateContent.getContent());
+        } else if ("状态转换及时率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setZtzhjsl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setZtzhjsl_value(operationEvaluateContent.getContent());
+        } else if ("缺陷下单及时率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setQxxdjsl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setQxxdjsl_value(operationEvaluateContent.getContent());
+        } else if ("缺陷验收及时率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setQxysjsl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setQxysjsl_value(operationEvaluateContent.getContent());
+        } else if ("平均小风切入风速".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setPjxfqrfs_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setPjxfqrfs_value(operationEvaluateContent.getContent());
+        } else if ("MTTF".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setMttf_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setMttf_value(operationEvaluateContent.getContent());
+        } else if ("设备利用小时".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setSblyxs_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setSblyxs_value(operationEvaluateContent.getContent());
+        } else if ("综合厂用电率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setZhcydl_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setZhcydl_value(operationEvaluateContent.getContent());
+        } else if ("隐患发现准确率".equals(operationEvaluateContent.getIndexName())) {
+            operationEvaluate.setYhfxzql_mark(operationEvaluateContent.getFinalValue());
+            operationEvaluate.setYhfxzql_value(operationEvaluateContent.getContent());
+        }
+    }
+}

+ 33 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OverhaulEvaluateContentServiceImpl.java

@@ -0,0 +1,33 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.OverhaulEvaluateContentMapper;
+import com.gyee.jinneng_kpi.service.IOverhaulEvaluateContentService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * 检修评价内容 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class OverhaulEvaluateContentServiceImpl extends ServiceImpl<OverhaulEvaluateContentMapper, OverhaulEvaluateContent> implements IOverhaulEvaluateContentService {
+
+    @Resource
+    private OverhaulEvaluateContentMapper overhaulEvaluateContentMapper;
+
+    @Override
+    public List<OverhaulEvaluateContent> overhaulEvaluateContentListByOverhaulEvaluateId(Long overhaulEvaluateId) {
+        QueryWrapper<OverhaulEvaluateContent> qw = new QueryWrapper<>();
+        if (null != overhaulEvaluateId) {
+            qw.lambda().eq(OverhaulEvaluateContent::getOverhaulEvaluateId, overhaulEvaluateId);
+        }
+        qw.lambda().orderByAsc(OverhaulEvaluateContent::getId);
+        return overhaulEvaluateContentMapper.selectList(qw);
+    }
+}

+ 78 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/OverhaulEvaluateServiceImpl.java

@@ -0,0 +1,78 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluate;
+import com.gyee.jinneng_kpi.domain.OverhaulEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.OverhaulEvaluateMapper;
+import com.gyee.jinneng_kpi.service.IOverhaulEvaluateService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * 检修评价 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class OverhaulEvaluateServiceImpl extends ServiceImpl<OverhaulEvaluateMapper, OverhaulEvaluate> implements IOverhaulEvaluateService {
+
+    @Resource
+    private OverhaulEvaluateMapper overhaulEvaluateMapper;
+
+    @Override
+    public IPage<OverhaulEvaluate> pageList(Page<OverhaulEvaluate> page, Integer years, Integer month) {
+        QueryWrapper<OverhaulEvaluate> qw = new QueryWrapper<>();
+        if (null != years) {
+            qw.lambda().eq(OverhaulEvaluate::getYears, years);
+        }
+        if (null != month) {
+            qw.lambda().eq(OverhaulEvaluate::getMonth, month);
+        }
+        return overhaulEvaluateMapper.selectPage(page, qw);
+    }
+
+    @Override
+    public void insertData(OverhaulEvaluate overhaulEvaluate, OverhaulEvaluateContent overhaulEvaluateContent) {
+        if ("风能利用率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setFnlyl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setFnlyl_value(overhaulEvaluateContent.getContent());
+        } else if ("计划检修损失率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setJhjxssl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setJhjxssl_value(overhaulEvaluateContent.getContent());
+        } else if ("非计划检修损失率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setFjhjxssl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setFjhjxssl_value(overhaulEvaluateContent.getContent());
+        } else if ("缺陷单接单及时率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setQxdjdjsl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setQxdjdjsl_value(overhaulEvaluateContent.getContent());
+        } else if ("到达消缺地点及时率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setDdxqddjsl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setDdxqddjsl_value(overhaulEvaluateContent.getContent());
+        } else if ("真实消缺及时率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setZsxqjsl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setZsxqjsl_value(overhaulEvaluateContent.getContent());
+        } else if ("MTBF".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setMtbf_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setMtbf_value(overhaulEvaluateContent.getContent());
+        } else if ("MTTR".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setMttr_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setMttr_value(overhaulEvaluateContent.getContent());
+        } else if ("设备利用小时".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setSblyxs_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setSblyxs_value(overhaulEvaluateContent.getContent());
+        } else if ("设备可利用率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setSbklyl_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setSbklyl_value(overhaulEvaluateContent.getContent());
+        } else if ("等效可用系数".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setDxkyxs_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setDxkyxs_value(overhaulEvaluateContent.getContent());
+        } else if ("隐患发现准确率".equals(overhaulEvaluateContent.getIndexName())) {
+            overhaulEvaluate.setYhfxzql_mark(overhaulEvaluateContent.getFinalValue());
+            overhaulEvaluate.setYhfxzql_value(overhaulEvaluateContent.getContent());
+        }
+    }
+}

+ 33 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/SpSynthesisEvaluateContentServiceImpl.java

@@ -0,0 +1,33 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.SpSynthesisEvaluateContentMapper;
+import com.gyee.jinneng_kpi.service.ISpSynthesisEvaluateContentService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * 光伏场站综合评价内容 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class SpSynthesisEvaluateContentServiceImpl extends ServiceImpl<SpSynthesisEvaluateContentMapper, SpSynthesisEvaluateContent> implements ISpSynthesisEvaluateContentService {
+
+    @Resource
+    private SpSynthesisEvaluateContentMapper spSynthesisEvaluateContentMapper;
+
+    @Override
+    public List<SpSynthesisEvaluateContent> spSynthesisEvaluateContentListBySynthesisEvaluateId(Long synthesisEvaluateId) {
+        QueryWrapper<SpSynthesisEvaluateContent> qw = new QueryWrapper<>();
+        if (null != synthesisEvaluateId) {
+            qw.lambda().eq(SpSynthesisEvaluateContent::getSynthesisEvaluateId, synthesisEvaluateId);
+        }
+        qw.lambda().orderByAsc(SpSynthesisEvaluateContent::getId);
+        return spSynthesisEvaluateContentMapper.selectList(qw);
+    }
+}

+ 102 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/SpSynthesisEvaluateServiceImpl.java

@@ -0,0 +1,102 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.SpSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.SpSynthesisEvaluateMapper;
+import com.gyee.jinneng_kpi.service.ISpSynthesisEvaluateService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * 光伏场站综合评价 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class SpSynthesisEvaluateServiceImpl extends ServiceImpl<SpSynthesisEvaluateMapper, SpSynthesisEvaluate> implements ISpSynthesisEvaluateService {
+
+    @Resource
+    private SpSynthesisEvaluateMapper spSynthesisEvaluateMapper;
+
+    @Override
+    public IPage<SpSynthesisEvaluate> pageList(Page<SpSynthesisEvaluate> page, Integer years, Integer month) {
+        QueryWrapper<SpSynthesisEvaluate> qw = new QueryWrapper<>();
+        if (null != years) {
+            qw.lambda().eq(SpSynthesisEvaluate::getYears, years);
+        }
+        if (null != month) {
+            qw.lambda().eq(SpSynthesisEvaluate::getMonth, month);
+        }
+        return spSynthesisEvaluateMapper.selectPage(page, qw);
+    }
+
+    @Override
+    public void insertData(SpSynthesisEvaluate spSynthesisEvaluate, SpSynthesisEvaluateContent spSynthesisEvaluateContent) {
+        if ("人身、设备事故".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setRssbsg_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setRssbsg_value(spSynthesisEvaluateContent.getContent());
+        } else if ("设备一类障碍".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setSbylza_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setSbylza_value(spSynthesisEvaluateContent.getContent());
+        } else if ("光能利用率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setGnlyl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setGnlyl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("计划检修损失率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setJhjxssl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setJhjxssl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("非计划检修损失率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setFjhjxssl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setFjhjxssl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("限电损失率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setXdssl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setXdssl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("性能损失率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setXnssl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setXnssl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("复位及时率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setFwjsl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setFwjsl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("状态转换及时率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setZtzhjsl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setZtzhjsl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("故障处理及时率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setGzcljsl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setGzcljsl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("MTBF".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setMtbf_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setMtbf_value(spSynthesisEvaluateContent.getContent());
+        } else if ("MTTF".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setMttf_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setMttf_value(spSynthesisEvaluateContent.getContent());
+        } else if ("MTTR".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setMttr_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setMttr_value(spSynthesisEvaluateContent.getContent());
+        } else if ("设备利用小时".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setSblyxs_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setSblyxs_value(spSynthesisEvaluateContent.getContent());
+        } else if ("综合厂用电率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setZhcydl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setZhcydl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("设备可利用率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setSbklyl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setSbklyl_value(spSynthesisEvaluateContent.getContent());
+        } else if ("等效可用系数".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setDxkyxs_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setDxkyxs_value(spSynthesisEvaluateContent.getContent());
+        } else if ("隐患发现准确率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setYhfxzql_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setYhfxzql_value(spSynthesisEvaluateContent.getContent());
+        } else if ("光功率预测准确率".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setGglyczql_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setGglyczql_value(spSynthesisEvaluateContent.getContent());
+        } else if ("累计辐射总量".equals(spSynthesisEvaluateContent.getIndexName())) {
+            spSynthesisEvaluate.setLjfszl_mark(spSynthesisEvaluateContent.getFinalValue());
+            spSynthesisEvaluate.setLjfszl_value(spSynthesisEvaluateContent.getContent());
+        }
+    }
+}

+ 33 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/WfSynthesisEvaluateContentServiceImpl.java

@@ -0,0 +1,33 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.WfSynthesisEvaluateContentMapper;
+import com.gyee.jinneng_kpi.service.IWfSynthesisEvaluateContentService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * 风电场站综合评价内容 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class WfSynthesisEvaluateContentServiceImpl extends ServiceImpl<WfSynthesisEvaluateContentMapper, WfSynthesisEvaluateContent> implements IWfSynthesisEvaluateContentService {
+
+    @Resource
+    private WfSynthesisEvaluateContentMapper wfSynthesisEvaluateContentMapper;
+
+    @Override
+    public List<WfSynthesisEvaluateContent> wfSynthesisEvaluateContentListBySynthesisEvaluateId(Long synthesisEvaluateId) {
+        QueryWrapper<WfSynthesisEvaluateContent> qw = new QueryWrapper<>();
+        if (null != synthesisEvaluateId) {
+            qw.lambda().eq(WfSynthesisEvaluateContent::getSynthesisEvaluateId, synthesisEvaluateId);
+        }
+        qw.lambda().orderByAsc(WfSynthesisEvaluateContent::getId);
+        return wfSynthesisEvaluateContentMapper.selectList(qw);
+    }
+}

+ 108 - 0
web/runeconomy-xk/src/main/java/com/gyee/jinneng_kpi/service/impl/WfSynthesisEvaluateServiceImpl.java

@@ -0,0 +1,108 @@
+package com.gyee.jinneng_kpi.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluate;
+import com.gyee.jinneng_kpi.domain.WfSynthesisEvaluateContent;
+import com.gyee.jinneng_kpi.mapper.WfSynthesisEvaluateMapper;
+import com.gyee.jinneng_kpi.service.IWfSynthesisEvaluateService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * 风电场站综合评价 Service 实现类
+ *
+ * @author hlf
+ */
+@Service
+public class WfSynthesisEvaluateServiceImpl extends ServiceImpl<WfSynthesisEvaluateMapper, WfSynthesisEvaluate> implements IWfSynthesisEvaluateService {
+
+    @Resource
+    private WfSynthesisEvaluateMapper wfSynthesisEvaluateMapper;
+
+    @Override
+    public IPage<WfSynthesisEvaluate> pageList(Page<WfSynthesisEvaluate> page, Integer years, Integer month) {
+        QueryWrapper<WfSynthesisEvaluate> qw = new QueryWrapper<>();
+        if (null != years) {
+            qw.lambda().eq(WfSynthesisEvaluate::getYears, years);
+        }
+        if (null != month) {
+            qw.lambda().eq(WfSynthesisEvaluate::getMonth, month);
+        }
+        return wfSynthesisEvaluateMapper.selectPage(page, qw);
+    }
+
+    @Override
+    public void insertData(WfSynthesisEvaluate wfSynthesisEvaluate, WfSynthesisEvaluateContent wfSynthesisEvaluateContent) {
+        if ("人身、设备事故".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setRssbsg_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setRssbsg_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("设备一类障碍".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setSbylza_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setSbylza_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("风能利用率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setFnlyl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setFnlyl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("计划检修损失率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setJhjxssl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setJhjxssl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("非计划检修损失率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setFjhjxssl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setFjhjxssl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("限电损失率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setXdssl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setXdssl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("性能损失率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setXnssl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setXnssl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("复位及时率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setFwjsl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setFwjsl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("状态转换及时率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setZtzhjsl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setZtzhjsl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("故障处理及时率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setGzcljsl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setGzcljsl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("MTBF".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setMtbf_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setMtbf_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("MTTF".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setMttf_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setMttf_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("MTTR".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setMttr_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setMttr_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("设备利用小时".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setSblyxs_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setSblyxs_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("综合厂用电率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setZhcydl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setZhcydl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("设备可利用率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setSbklyl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setSbklyl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("等效可用系数".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setDxkyxs_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setDxkyxs_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("隐患发现准确率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setYhfxzql_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setYhfxzql_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("风功率预测准确率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setFglyczql_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setFglyczql_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("平均风速".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setPjfs_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setPjfs_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("静风频率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setJfpl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setJfpl_value(wfSynthesisEvaluateContent.getContent());
+        } else if ("有效风时率".equals(wfSynthesisEvaluateContent.getIndexName())) {
+            wfSynthesisEvaluate.setYxfsl_mark(wfSynthesisEvaluateContent.getFinalValue());
+            wfSynthesisEvaluate.setYxfsl_value(wfSynthesisEvaluateContent.getContent());
+        }
+    }
+}

+ 2 - 1
web/runeconomy-xk/src/main/resources/application-jn.yml

@@ -19,7 +19,7 @@ spring:
   #      password: nacos
   #redis集群
   redis:
-    #    host: 127.0.0.1
+    # host: 127.0.0.1
     host: 10.81.3.155
     port: 6379
     timeout: 100000
@@ -45,6 +45,7 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: org.postgresql.Driver
     url: jdbc:postgresql://10.81.3.151:5432/IMS_NEM_JN
+    # url: jdbc:postgresql://127.0.0.1:5432/IMS_NEM_JN
     username: postgres
     password: postgres
     oracle-schema=: