...
|
...
|
@@ -57,7 +57,7 @@ public class BigdataMonitorService { |
|
|
|
|
|
private ApiResponse ifNeedAlarm(List<BigdataMonitor> results, int yesterday, int beforYesterday, int threshold, String tableName) {
|
|
|
if (CollectionUtils.isEmpty(results)) {
|
|
|
return ApiResponse.createError("bigdata_similar_skn: 没有数据", null);
|
|
|
return ApiResponse.createError(tableName + ": 没有数据", null);
|
|
|
}
|
|
|
Map<String, BigdataMonitor> dataMap = results.stream().collect(Collectors.toMap(BigdataMonitor::getDateId, Function.identity()));
|
|
|
StringBuilder msg = new StringBuilder();
|
...
|
...
|
|