Browse Source

更新日志排序

master
汪菘 3 years ago
parent
commit
3f6d14e311
  1. 3
      nladmin-system/src/main/java/org/nl/modules/log/service/impl/RootLogServiceImpl.java

3
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 begin_time = (String) whereJson.get("begin_time");
String end_time = (String) whereJson.get("end_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)) { if (StrUtil.isEmpty(device_code)) {
JSONArray array = deviceService.selectList(); JSONArray array = deviceService.selectList();

Loading…
Cancel
Save