From e3241a8a2b867fb60cd63edd64744a1fbfae0d1d Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期三, 11 十二月 2024 17:14:30 +0800
Subject: [PATCH] 更改查询方式

---
 assess-system/src/main/resources/mapper/AssInvestigationMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/assess-system/src/main/resources/mapper/AssInvestigationMapper.xml b/assess-system/src/main/resources/mapper/AssInvestigationMapper.xml
index 44c6e9d..e9f4d74 100644
--- a/assess-system/src/main/resources/mapper/AssInvestigationMapper.xml
+++ b/assess-system/src/main/resources/mapper/AssInvestigationMapper.xml
@@ -31,7 +31,7 @@
 
     <select id="getInvestigationByProjectId" resultMap="investigationResult">
         <include refid="selectInvestigationVo"/>
-        where project_id=#{projectId} and del_flag=0
+        where project_id=#{projectId} and del_flag=0 order by create_time desc
     </select>
 
     <select id="getInvestigationById" resultMap="investigationResult">

--
Gitblit v1.9.2