From 261a7d2645877369a8928d573e0fa0d978577ef3 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 27 五月 2026 10:59:57 +0800
Subject: [PATCH] fix(ai): 优化财务AI助手的工作规则和数据分析功能

---
 src/main/resources/mapper/quality/QualityTestStandardMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/quality/QualityTestStandardMapper.xml b/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
index f326a66..53eef84 100644
--- a/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
+++ b/src/main/resources/mapper/quality/QualityTestStandardMapper.xml
@@ -19,6 +19,7 @@
         <if test="c.inspectType != null ">
             AND inspect_type =#{c.inspectType}
         </if>
+        order by create_time desc
     </select>
     <select id="getQualityTestStandardByProductId" resultType="com.ruoyi.quality.pojo.QualityTestStandard">
         SELECT qts.*

--
Gitblit v1.9.3