Commit 98e6aa04 authored by yangyang's avatar yangyang

智慧分析 - 健康等级区域、全域修改

parent 9060a6a9
package com.yeejoin.amos.boot.module.jxiop.biz.dto;
import lombok.Data;
/**
* TODO(一句话描述该类的功能)
* <p>
* ProjectName: amos-boot-zx-biz
* PackageName: com.yeejoin.amos.boot.module.jxiop.biz.dto
*
* @author yangyang
* @version v1.0
* @date 2024/7/25 11:05
*/
@Data
public class HealthIndexDTO {
private String type;
private Long ts;
private String recDate;
private String analysisObjType;
private String analysisObjSeq;
private Double weight;
private Double healthIndex;
private String healthLevel;
private String analysisType;
private String analysisStartTime;
private String analysisEndTime;
private String area;
private String station;
private String subSystem;
private String number;
private String equipmentName;
private String gatewayId;
private String indexAddress;
private Double anomaly;
private String pointName;
private String analysisTime;
private String kks;
private String orgCode;
}
package com.yeejoin.amos.boot.module.jxiop.biz.service; package com.yeejoin.amos.boot.module.jxiop.biz.service;
import com.yeejoin.amos.boot.module.jxiop.biz.dto.HealthIndexDTO;
import com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanHealthIndex; import com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanHealthIndex;
import com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvHealthIndex;
import java.util.List; import java.util.List;
...@@ -87,4 +89,12 @@ public interface IFanHealthIndexService { ...@@ -87,4 +89,12 @@ public interface IFanHealthIndexService {
* @date 2024/7/23 21:02 * @date 2024/7/23 21:02
*/ */
List<FanHealthIndex> getInfoListByGroupByQgFan(String startTime, String tableName, String analysisObjectType); List<FanHealthIndex> getInfoListByGroupByQgFan(String startTime, String tableName, String analysisObjectType);
List<HealthIndexDTO> getInfoListByGroupByQy(String startTime, String fanTableName, String pvTableName, String analysisObjectType);
List<HealthIndexDTO> getInfoListByGroupByQg(String startTime, String fanTableName, String pvTableName, String analysisObjectType);
FanHealthIndex toFanHealthIndex(HealthIndexDTO healthIndex);
PvHealthIndex toPvHealthIndex(HealthIndexDTO healthIndex);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment