Commit 4f08925e by 谢海旭

Merge remote-tracking branch 'origin/v5.6.1' into v5.6.1

2 parents 1a585357 91dc44d3
...@@ -349,7 +349,8 @@ public class MonitoringService { ...@@ -349,7 +349,8 @@ public class MonitoringService {
regionalmerchantIds, regionalmerchantIds,
onlinemerchantIds onlinemerchantIds
).stream() ).stream()
.filter(Objects::nonNull) // 跳过 null .filter(Objects::nonNull)
.filter(col -> !col.isEmpty()) // 排除空集合 []// 跳过 null
.collect(Collectors.toList()); .collect(Collectors.toList());
if (collections.isEmpty()) { if (collections.isEmpty()) {
// 所有集合都为 null → 返回空集合 // 所有集合都为 null → 返回空集合
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!