feat(harmonic): 优化事件管理功能并调整日志级别

- 将多个模块的根日志级别从info调整为warn
- 在CldEventParam中为幅值和持续时间字段添加更明确的描述
- 为CommonStatisticalQueryParam添加持续时间、特征幅值、严重度等范围验证参数
- 在CsEngineeringServiceImpl中添加排序功能支持
- 为设备交付相关参数和实体类添加治理方法、敏感用户、治理类型等新字段
- 在事件服务中实现持续时间、幅值、严重度等多维度筛选查询功能
- 为CsEventPO添加严重度字段并实现相关计算逻辑
- 优化事件列表查询性能,添加波形文件存在性过滤条件
- 更新XML映射文件以支持新的查询参数和字段映射
- 重构台账树构建逻辑,提升数据加载效率
- 修复数据查询中的大小写匹配问题
This commit is contained in:
xy
2026-06-10 10:51:59 +08:00
parent 681ec99f23
commit 85f0775c97
35 changed files with 1546 additions and 579 deletions

View File

@@ -1,5 +1,8 @@
package com.njcn.csharmonic.utils;
import java.util.ArrayList;
import java.util.List;
public class DataChangeUtil {
/**
@@ -43,4 +46,34 @@ public class DataChangeUtil {
return data;
}
public static List<String> getTag(List<String> target) {
List<String> tag = new ArrayList<>();
target.forEach(temp -> {
switch (temp) {
case "暂降":
tag.add("Evt_Sys_DipStr");
break;
case "中断":
tag.add("Evt_Sys_IntrStr");
break;
case "暂升":
tag.add("Evt_Sys_SwlStr");
break;
case "瞬态":
tag.add("Evt_Sys_QitrV");
tag.add("Evt_Sys_QitrA");
tag.add("Transient");
break;
case "振荡":
tag.add("Evt_Sys_PoscLowStr");
tag.add("Evt_Sys_PoscSyncStr");
tag.add("Evt_Sys_PoscWideStr");
break;
default:
break;
}
});
return tag;
}
}