From 09b1bb62599b26f451c78d01a43839fc396ebc3b Mon Sep 17 00:00:00 2001
From: du <1725534722@qq.com>
Date: Fri, 22 Nov 2024 15:50:34 +0800
Subject: [PATCH] bugfix
---
ruoyi-admin/src/main/resources/application.yml | 2 +-
ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index e11d951..6aee222 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -52,7 +52,7 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
- active: test
+ active: druid
# 文件上传
servlet:
multipart:
diff --git a/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml
index 4349c0f..28febe6 100644
--- a/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml
@@ -28,6 +28,7 @@
and create_time <= #{req.endTime}
+ order by create_time desc
-
update asset_current
set del_flag = '2'