|
@@ -12,114 +12,127 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
-@FeignClient(name = "health",url = "${provider.healthurl}",
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@FeignClient(name = "health", url = "${provider.healthurl}",
|
|
|
fallbackFactory = HealthServiceFallbackFactory.class,
|
|
|
configuration = FeignConfiguration.class)
|
|
|
public interface HealthService {
|
|
|
|
|
|
-/***********************************************************************************************************************/
|
|
|
+ /***********************************************************************************************************************/
|
|
|
@GetMapping("/healthmain/findAllChart")
|
|
|
public AjaxResult findAllChart(@RequestParam("wpId") String wpId, @RequestParam("num") String num, @RequestParam("type") String type) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthmain/findAllMap")
|
|
|
- public AjaxResult findAllMap() throws Exception ;
|
|
|
+ public AjaxResult findAllMap() throws Exception;
|
|
|
|
|
|
@GetMapping("/healthmain/findWpMap")
|
|
|
- public AjaxResult findWpMap(@RequestParam("wpId") String wpId) throws Exception ;
|
|
|
+ public AjaxResult findWpMap(@RequestParam("wpId") String wpId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthmain/findHealthMatrixMap")
|
|
|
- public AjaxResult findHealthMatrixMap() throws Exception ;
|
|
|
+ public AjaxResult findHealthMatrixMap() throws Exception;
|
|
|
+
|
|
|
/***********************************************************************************************************************/
|
|
|
@GetMapping("/healthsub/findWtHealthInfo")
|
|
|
- public AjaxResult findWtHealthInfo(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findWtHealthInfo(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/findWtHealthInfo1")
|
|
|
- public AjaxResult findWtHealthInfo1(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findWtHealthInfo1(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/findWtHealthInfo2")
|
|
|
- public AjaxResult findWtHealthInfo2(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findWtHealthInfo2(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/findWtHealthInfo3")
|
|
|
- public AjaxResult findWtHealthInfo3(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findWtHealthInfo3(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/gadaytop5")
|
|
|
- public AjaxResult gadaytop5(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult gadaytop5(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/queryStopTop10")
|
|
|
- public AjaxResult queryStopTop10(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult queryStopTop10(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/getWtMttrandMtbfByBj")
|
|
|
- public AjaxResult getWtMttrandMtbfByBj(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult getWtMttrandMtbfByBj(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/getWeatherRealDay5Info")
|
|
|
- public AjaxResult getWeatherRealDay5Info(@RequestParam("wpId") String wpId) throws Exception ;
|
|
|
+ public AjaxResult getWeatherRealDay5Info(@RequestParam("wpId") String wpId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/findPowerChar")
|
|
|
- public AjaxResult findPowerChar(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findPowerChar(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/hsFjValueIndex")
|
|
|
- public AjaxResult hsFjValueIndex(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult hsFjValueIndex(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/findWtHisValueForBj")
|
|
|
- public AjaxResult findWtHisValueForBj(@RequestParam("wtId") String wtId) throws Exception ;
|
|
|
+ public AjaxResult findWtHisValueForBj(@RequestParam("wtId") String wtId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/hsFjValueIndexByPart")
|
|
|
- public AjaxResult hsFjValueIndexByPart(@RequestParam("wtId") String wtId,@RequestParam("type") String type) throws Exception ;
|
|
|
-
|
|
|
+ public AjaxResult hsFjValueIndexByPart(@RequestParam("wtId") String wtId, @RequestParam("type") String type) throws Exception;
|
|
|
|
|
|
|
|
|
/***********************************************************************************************************************/
|
|
|
@GetMapping("/healthoperation/countWpwarn")
|
|
|
- public AjaxResult countWpwarn(@RequestParam("type") String type) throws Exception ;
|
|
|
+ public AjaxResult countWpwarn(@RequestParam("type") String type) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthoperation/countStop")
|
|
|
- public AjaxResult countStop(@RequestParam("type") String type) throws Exception ;
|
|
|
+ public AjaxResult countStop(@RequestParam("type") String type) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthoperation/countWpOrProStatus")
|
|
|
- public AjaxResult countWpOrProStatus(@RequestParam("type") String type) throws Exception ;
|
|
|
+ public AjaxResult countWpOrProStatus(@RequestParam("type") String type) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/healthoperation/findWpOrProStatusForHistory")
|
|
|
- public AjaxResult findWpOrProStatusForHistory(@RequestParam("type") String type,@RequestParam("status") String status) throws Exception ;
|
|
|
+ public AjaxResult findWpOrProStatusForHistory(@RequestParam("type") String type, @RequestParam("status") String status) throws Exception;
|
|
|
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**性能损失走势列表**/
|
|
|
+ /**
|
|
|
+ * 性能损失走势列表
|
|
|
+ **/
|
|
|
@GetMapping("/losspowerratehealth/losspowerrateList")
|
|
|
- public AjaxResult losspowerrateList(@RequestParam("wtId") String wtId,@RequestParam("beginDate") String beginDate,@RequestParam("endDate") String endDate) throws Exception ;
|
|
|
+ public AjaxResult losspowerrateList(@RequestParam("wtId") String wtId, @RequestParam("beginDate") String beginDate, @RequestParam("endDate") String endDate) throws Exception;
|
|
|
|
|
|
- /**性能损失走势图表**/
|
|
|
+ /**
|
|
|
+ * 性能损失走势图表
|
|
|
+ **/
|
|
|
@GetMapping("/losspowerratehealth/getChartlist")
|
|
|
- public AjaxResult getChartlist(@RequestParam("wtId") String wtId,@RequestParam("beginDate") String beginDate,@RequestParam("endDate") String endDate) throws Exception;
|
|
|
+ public AjaxResult getChartlist(@RequestParam("wtId") String wtId, @RequestParam("beginDate") String beginDate, @RequestParam("endDate") String endDate) throws Exception;
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**批次报警分析**/
|
|
|
+ /**
|
|
|
+ * 批次报警分析
|
|
|
+ **/
|
|
|
@GetMapping("/partbj/partbjList")
|
|
|
public AjaxResult partbjList(@RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
|
|
|
- /**批次报警分析**/
|
|
|
+ /**
|
|
|
+ * 批次报警分析
|
|
|
+ **/
|
|
|
@GetMapping("/partbj/partbjsubList")
|
|
|
- public AjaxResult partbjsubList(@RequestParam("lnid") String lnid,@RequestParam("part") String part,@RequestParam("recorddate") String recorddate) throws Exception ;
|
|
|
+ public AjaxResult partbjsubList(@RequestParam("lnid") String lnid, @RequestParam("part") String part, @RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
+
|
|
|
/***********************************************************************************************************************/
|
|
|
@GetMapping("/stopanalysis/stopAnalysisList")
|
|
|
- public AjaxResult stopAnalysisList(@RequestParam("wpId") String wpId,@RequestParam("modelId") String modelId,@RequestParam("typeId") String typeId) throws Exception ;
|
|
|
+ public AjaxResult stopAnalysisList(@RequestParam("wpId") String wpId, @RequestParam("modelId") String modelId, @RequestParam("typeId") String typeId) throws Exception;
|
|
|
|
|
|
|
|
|
@GetMapping("/stopanalysis/stopAnalysisTree")
|
|
|
- public AjaxResult stopAnalysisTree(@RequestParam("mainId") String mainId,@RequestParam("wtId") String wtId, @RequestParam("values") String values) throws Exception ;
|
|
|
+ public AjaxResult stopAnalysisTree(@RequestParam("mainId") String mainId, @RequestParam("wtId") String wtId, @RequestParam("values") String values) throws Exception;
|
|
|
|
|
|
|
|
|
@PostMapping("/stopanalysis/saveStopAnalysis")
|
|
|
- public AjaxResult saveStopAnalysis(@RequestParam("wpId") String wpId,@RequestParam("modelId") String modelId,@RequestParam("typeId") String typeId) throws Exception;
|
|
|
+ public AjaxResult saveStopAnalysis(@RequestParam("wpId") String wpId, @RequestParam("modelId") String modelId, @RequestParam("typeId") String typeId) throws Exception;
|
|
|
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**单机区间曲线偏差率**/
|
|
|
+ /**
|
|
|
+ * 单机区间曲线偏差率
|
|
|
+ **/
|
|
|
@PostMapping("/wtcurve/windTurbineCurveList")
|
|
|
- public AjaxResult windTurbineCurveList(Tablepar tablepar, @RequestParam("wpId") String wpId, @RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
+ public AjaxResult windTurbineCurveList(Tablepar tablepar, @RequestParam("wpId") String wpId, @RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
|
|
|
/**
|
|
|
* @throws
|
|
@@ -127,34 +140,44 @@ public interface HealthService {
|
|
|
* @Description: 获得选择风机、年份、月份相关散点图
|
|
|
*/
|
|
|
@GetMapping("/wtcurve/scatterWtByDayAjax")
|
|
|
- public AjaxResult scatterWtByDayAjax(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
+ public AjaxResult scatterWtByDayAjax(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) throws Exception;
|
|
|
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**风机健康列表**/
|
|
|
+ /**
|
|
|
+ * 风机健康列表
|
|
|
+ **/
|
|
|
@GetMapping("/wtHealthList/windTurbineHealthList")
|
|
|
public AjaxResult windTurbineHealthList(@RequestParam("wpId") String wpId) throws Exception;
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**仓库列表**/
|
|
|
+ /**
|
|
|
+ * 仓库列表
|
|
|
+ **/
|
|
|
@GetMapping("/ticket/warehouse")
|
|
|
- public AjaxResult warehouse() throws Exception ;
|
|
|
+ public AjaxResult warehouse() throws Exception;
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**故障分析雷达图**/
|
|
|
+ /**
|
|
|
+ * 故障分析雷达图
|
|
|
+ **/
|
|
|
@GetMapping("/radar/gzfx")
|
|
|
public AjaxResult gzfx(@RequestParam(value = "stationid", required = true) String stationid,
|
|
|
@RequestParam(value = "date", required = true) String date);
|
|
|
/***********************************************************************************************************************/
|
|
|
- /**预警分析雷达图**/
|
|
|
+ /**
|
|
|
+ * 预警分析雷达图
|
|
|
+ **/
|
|
|
@GetMapping("/radar/yjfx")
|
|
|
public AjaxResult yjfx(@RequestParam(value = "stationid", required = true) String stationid,
|
|
|
@RequestParam(value = "date", required = true) String date);
|
|
|
+
|
|
|
/***********************************************************************************************************************/
|
|
|
@GetMapping("/analysis/detail")
|
|
|
- public AjaxResult detail( @RequestParam(name = "station") String station,
|
|
|
- @RequestParam(name = "wtId") String wtId,
|
|
|
- @RequestParam(name = "name") String name,
|
|
|
- @RequestParam(name = "startTs") long startTs,
|
|
|
- @RequestParam(name = "endTs") long endTs,
|
|
|
- @RequestParam(name = "interval", required = false) Integer interval);
|
|
|
+ public AjaxResult detail(@RequestParam(name = "station") String station,
|
|
|
+ @RequestParam(name = "wtId") String wtId,
|
|
|
+ @RequestParam(name = "name") String name,
|
|
|
+ @RequestParam(name = "startTs") long startTs,
|
|
|
+ @RequestParam(name = "endTs") long endTs,
|
|
|
+ @RequestParam(name = "interval", required = false) Integer interval);
|
|
|
+
|
|
|
/***********************************************************************************************************************/
|
|
|
|
|
|
@PostMapping("/healthsub/healthsystemList")
|
|
@@ -165,7 +188,7 @@ public interface HealthService {
|
|
|
|
|
|
|
|
|
@GetMapping("/healthsub/healthsystemSelect")
|
|
|
- public AjaxResult healthsystemSelect(@RequestParam("id") String id) throws Exception;
|
|
|
+ public AjaxResult healthsystemSelect(@RequestParam("id") String id) throws Exception;
|
|
|
|
|
|
|
|
|
@PostMapping("/healthsub/healthsystemUpdate")
|
|
@@ -174,8 +197,7 @@ public interface HealthService {
|
|
|
|
|
|
|
|
|
@PostMapping("/healthsub/healthsystemInsert")
|
|
|
- public AjaxResult healthsystemInsert(Healthsystem record) throws Exception;
|
|
|
-
|
|
|
+ public AjaxResult healthsystemInsert(Healthsystem record) throws Exception;
|
|
|
|
|
|
|
|
|
@PostMapping("/healthsub/healthsystemsubList")
|
|
@@ -184,7 +206,7 @@ public interface HealthService {
|
|
|
|
|
|
@PostMapping("/healthsub/healthsystemsubDelete")
|
|
|
|
|
|
- public AjaxResult healthsystemsubDelete(@RequestParam("ids") String ids) throws Exception ;
|
|
|
+ public AjaxResult healthsystemsubDelete(@RequestParam("ids") String ids) throws Exception;
|
|
|
|
|
|
@GetMapping("/healthsub/healthsystemsubSelect")
|
|
|
|
|
@@ -197,4 +219,34 @@ public interface HealthService {
|
|
|
@PostMapping("/healthsub/healthsystemsubInsert")
|
|
|
|
|
|
public AjaxResult healthsystemsubInsert(Healthsystemsub record) throws Exception;
|
|
|
+
|
|
|
+
|
|
|
+ //////////////////////////////////////////////////////////////////////////////////////////
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getconHealthReportTargetMap")
|
|
|
+ public AjaxResult getEconHealthReportMain(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getconHealthReportTargetMap")
|
|
|
+ public AjaxResult getconHealthReportTargetMap(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getStateJudgment")
|
|
|
+ public AjaxResult getStateJudgment(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getHealthNumVoList")
|
|
|
+ public AjaxResult getHealthNumVoList(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getEquipmentInfoDayTopVoList")
|
|
|
+ public AjaxResult getEquipmentInfoDayTopVoList(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getHealthDataVlueVo")
|
|
|
+ public AjaxResult getHealthDataVlueVo(Date recordDate, String wtId, String type) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getAlarmcountVoList")
|
|
|
+ public AjaxResult getAlarmcountVoList(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+ @GetMapping("/healthreport/getHealthReportQxpc")
|
|
|
+ public AjaxResult getHealthReportQxpc(Date recordDate, String wtId) throws Exception;
|
|
|
+
|
|
|
+
|
|
|
}
|