微调
This commit is contained in:
@@ -1428,7 +1428,7 @@ public class CustomReportServiceImpl implements CustomReportService {
|
||||
// 遍历当前Map的键值对
|
||||
for (Map.Entry<String, Object> entry : map.entrySet()) {
|
||||
String key = entry.getKey();
|
||||
if (!key.equals("time")) {
|
||||
if (Objects.nonNull(entry.getValue()) && !key.equals("time")) {
|
||||
double value = (double) entry.getValue();
|
||||
// 检查结果Map中是否已包含该键
|
||||
if (!resultMap.containsKey(key) || (double) resultMap.get(key) > value) {
|
||||
@@ -1443,7 +1443,7 @@ public class CustomReportServiceImpl implements CustomReportService {
|
||||
// 遍历当前Map的键值对
|
||||
for (Map.Entry<String, Object> entry : map.entrySet()) {
|
||||
String key = entry.getKey();
|
||||
if (!key.equals("time")) {
|
||||
if (Objects.nonNull(entry.getValue()) && !key.equals("time")) {
|
||||
double value = (double) entry.getValue();
|
||||
// 检查结果Map中是否已包含该键
|
||||
if (!resultMap.containsKey(key) || (double) resultMap.get(key) < value) {
|
||||
@@ -1461,7 +1461,7 @@ public class CustomReportServiceImpl implements CustomReportService {
|
||||
// 遍历当前Map的键值对
|
||||
for (Map.Entry<String, Object> entry : map.entrySet()) {
|
||||
String key = entry.getKey();
|
||||
if (!key.equals("time")) {
|
||||
if (Objects.nonNull(entry.getValue()) && !key.equals("time")) {
|
||||
double value = (double) entry.getValue();
|
||||
|
||||
// 更新累计和
|
||||
|
||||
Reference in New Issue
Block a user