1.bug调整
This commit is contained in:
@@ -1471,7 +1471,7 @@ public class CustomReportTableServiceImpl implements CustomReportTableService {
|
||||
}
|
||||
}
|
||||
} else if (v.charAt(0) == '%' && v.contains(STR_ONE)) {
|
||||
//指标合格情况
|
||||
//指标结论情况
|
||||
String str = "";
|
||||
List<ReportTemplateDTO> rDto = assMap.get(v.replace(STR_FOUR, "").toUpperCase());
|
||||
if (Objects.nonNull(rDto)) {
|
||||
@@ -1481,7 +1481,7 @@ public class CustomReportTableServiceImpl implements CustomReportTableService {
|
||||
str = "/";
|
||||
}
|
||||
son.set(V, str);
|
||||
if ("不合格".equals(str)) {
|
||||
if (str.contains("不合格")) {
|
||||
son.set("fc", "#990000");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -244,7 +244,6 @@ public class MonitorHarmonicReportServiceImpl implements MonitorHarmonicReportSe
|
||||
// ======== 修复后的图片处理核心逻辑 ========
|
||||
Map<String, Object> header = handleImageData(file, picPathResource);
|
||||
reportmap.put("$image$", header);
|
||||
reportmap.put("$image$", header);
|
||||
|
||||
getVirtualData(param);
|
||||
// 电压幅值
|
||||
@@ -469,7 +468,7 @@ public class MonitorHarmonicReportServiceImpl implements MonitorHarmonicReportSe
|
||||
reportmap.put("$TitleTime$", dayFormatter.format(currentTime));
|
||||
// 报告标题
|
||||
reportmap.put("$ReportTitle$",
|
||||
String.format("对该地区%s电能质量在线监测数据进行分析, 以判断电能质量指标是否满足国标。", new String[]{strLineBaseName}));
|
||||
String.format(" 对该地区%s电能质量在线监测数据进行分析, 以判断电能质量指标是否满足国标。", new String[]{strLineBaseName}));
|
||||
// 报告分析时间段
|
||||
reportmap.put("$ReportTime$", strTime);
|
||||
// 运行数据分析
|
||||
|
||||
Reference in New Issue
Block a user