高级算法代码修改,管理员功能代码移植

This commit is contained in:
2023-08-14 10:40:49 +08:00
parent 7716708aef
commit 4d4f1f8344
16 changed files with 428 additions and 39 deletions

View File

@@ -1,6 +1,8 @@
package com.njcn.event.pojo.po;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.njcn.db.bo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -21,17 +23,19 @@ public class RmpEventDetailAssPO extends BaseEntity {
/**
*事件关联分析表uuid
*/
@TableId("Event_Ass_Id")
private String eventAssId;
/**
*发生时间(归一化中第一个时间)
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
private LocalDateTime timeId;
/**
*关联事件描述
*/
private String describe;
private String contentDes;
/**
*是否进行范围分析0分析1未分析

View File

@@ -96,10 +96,15 @@ public class AdvanceEventDetailVO {
private Double transientValue;
@ApiModelProperty(value = "供电公司名称")
private String gdName;
@ApiModelProperty(value = "变电站名称")
private String subName;
@ApiModelProperty(value = "监测点名称")
private String lineName;
private String voltageId;
@ApiModelProperty(value = "特征值是否计算")

View File

@@ -45,7 +45,7 @@ public class MonitorPointController extends BaseController {
* @author cdf
* @date 2022/6/23
*/
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
/* @OperateInfo(info = LogEnum.BUSINESS_COMMON)
@PostMapping("/getEventAnalyse")
@ApiOperation("获取监测点暂降事件分析")
@ApiImplicitParam(name = "eventBaseParam", value = "暂降事件分析参数", required = true)
@@ -53,7 +53,7 @@ public class MonitorPointController extends BaseController {
String methodDescribe = getMethodDescribe("getEventAnalyse");
Page<EventDetail> page = eventAnalysisService.getEventAnalyse(eventBaseParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, page, methodDescribe);
}
}*/
/**
* 获取电压暂态表及密度图

View File

@@ -23,7 +23,7 @@ public interface EventAnalysisService {
* @author cdf
* @date 2022/6/23
*/
Page<EventDetail> getEventAnalyse(EventBaseParam eventBaseParam);
//Page<EventDetail> getEventAnalyse(EventBaseParam eventBaseParam);
/**
* 获取坐标

View File

@@ -65,7 +65,7 @@ public class EventAnalysisServiceImpl implements EventAnalysisService {
private final DicDataFeignClient dicDataFeignClient;
@Override
/*@Override
public Page<EventDetail> getEventAnalyse(EventBaseParam eventBaseParam) {
//查询sql语句
@@ -97,7 +97,7 @@ public class EventAnalysisServiceImpl implements EventAnalysisService {
page.setCurrent(eventBaseParam.getPageNum());
page.setSize(eventBaseParam.getPageSize());
return page;
}
}*/
/**
* 时间无ID全查询