From 87f8d00de5a31c3c5750031cca982e9e2aa49a04 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Thu, 22 Aug 2024 16:23:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BD=BD=E4=BD=93=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/system/count/SysPropertynumController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java index 427d0be..0e7a457 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/count/SysPropertynumController.java @@ -85,7 +85,9 @@ public class SysPropertynumController extends BaseController { public String printEment(@PathVariable("useId") String useId, ModelMap mmap) { TdPropertyManager tdPropertyManager = tdPropertyManagerService.selectTdPropertyManagerByUseId(useId); List tdPropertyEments = tdPropertyEmentService.lambdaQuery() - .eq(TdPropertyEment::getUseId, useId).list(); + .eq(TdPropertyEment::getUseId, useId) + .orderByDesc(TdPropertyEment::getCreateTime) + .list(); mmap.put("tdPropertyEments", tdPropertyEments); mmap.put("tdPropertyManager", tdPropertyManager); mmap.put("sysuser", getSysUser());