From 3f6d14e3119836b59ce1aa30f701ed57ccd9e772 Mon Sep 17 00:00:00 2001 From: "USER-20220102CG\\noblelift" <546428999@qq.com> Date: Mon, 6 Jun 2022 20:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/modules/log/service/impl/RootLogServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nladmin-system/src/main/java/org/nl/modules/log/service/impl/RootLogServiceImpl.java b/nladmin-system/src/main/java/org/nl/modules/log/service/impl/RootLogServiceImpl.java index be80d6c..e2df9d9 100644 --- a/nladmin-system/src/main/java/org/nl/modules/log/service/impl/RootLogServiceImpl.java +++ b/nladmin-system/src/main/java/org/nl/modules/log/service/impl/RootLogServiceImpl.java @@ -73,7 +73,8 @@ public class RootLogServiceImpl implements RootLogService { String begin_time = (String) whereJson.get("begin_time"); String end_time = (String) whereJson.get("end_time"); - Query query = new Query().with(Sort.by("date")); + Query query = new Query(); + query.with(Sort.by(Sort.Order.desc("create_time"))); if (StrUtil.isEmpty(device_code)) { JSONArray array = deviceService.selectList();