From 9d616c60bcd6b357e01f6fbc2316bbaf3de776dd Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Thu, 13 Feb 2025 14:23:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E9=97=B4=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/LogpmDataSearchServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blade-service/logpm-data-sharing/src/main/java/com/logpm/datasharing/service/impl/LogpmDataSearchServiceImpl.java b/blade-service/logpm-data-sharing/src/main/java/com/logpm/datasharing/service/impl/LogpmDataSearchServiceImpl.java index 0609bc7de..6187b6db5 100644 --- a/blade-service/logpm-data-sharing/src/main/java/com/logpm/datasharing/service/impl/LogpmDataSearchServiceImpl.java +++ b/blade-service/logpm-data-sharing/src/main/java/com/logpm/datasharing/service/impl/LogpmDataSearchServiceImpl.java @@ -396,9 +396,9 @@ public class LogpmDataSearchServiceImpl implements ILogpmDataSearchService { } - //对nodeInfoVOList集合中的作业时间 按照 时间倒序排序 - nodeInfoVOList.sort(Comparator.comparing(NodeInfoVO::getOperateTime).reversed()); - + if(!nodeInfoVOList.isEmpty()){ + nodeInfoVOList.sort(Comparator.comparing(NodeInfoVO::getOperateTime).reversed()); + } result.setNodeInfoVOList(nodeInfoVOList); // 配送签收