From 1c57e1746f41381145ad9b3bdf3672aa797b4b0d Mon Sep 17 00:00:00 2001 From: xjm Date: Thu, 14 Nov 2024 15:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E4=BF=AE=E6=94=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gunshi/project/xyt/controller/SzRuleByLawController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gunshi/project/xyt/controller/SzRuleByLawController.java b/src/main/java/com/gunshi/project/xyt/controller/SzRuleByLawController.java index 017369e..4293f24 100644 --- a/src/main/java/com/gunshi/project/xyt/controller/SzRuleByLawController.java +++ b/src/main/java/com/gunshi/project/xyt/controller/SzRuleByLawController.java @@ -164,7 +164,7 @@ public class SzRuleByLawController extends AbstractCommonFileController { query.le(SzRuleByLaw::getUploadDate, calendar.getTime()); } - query.orderByDesc(SzRuleByLaw::getCreateTime); + query.orderByDesc(SzRuleByLaw::getUploadDate); Page data = service.page(page.getPageSo().toPage(), query); data.getRecords() .forEach(item -> item.setFiles(fileService.getFiles(getGroupId(), String.valueOf(item.getId()))));