From 3363af77fa23bdc599c3f746ba9802b799c780eb Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 28 三月 2025 09:28:40 +0800
Subject: [PATCH] 解决h5访客申请bug

---
 server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformWarnEventServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformWarnEventServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformWarnEventServiceImpl.java
index f7816fe..dcadef0 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformWarnEventServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformWarnEventServiceImpl.java
@@ -107,6 +107,7 @@
                         .selectAs(Platform::getName,PlatformWarnEvent::getPlatformName)
                         .selectAs(Platform::getHkId,PlatformWarnEvent::getPlatfromHkId)
                         .leftJoin(Platform.class,Platform::getId,PlatformWarnEvent::getPlatformId)
+                        .orderByDesc(PlatformWarnEvent::getCreateDate)
                         .last(" limit 20 ")
         );
         List<PlatformWarnEventListResponse> list = new ArrayList<PlatformWarnEventListResponse>();

--
Gitblit v1.9.3