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();