From dfb52b5f71f9846cfd470c2ae1fab64b17914ba0 Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期四, 22 五月 2025 17:04:10 +0800
Subject: [PATCH] 修改循环删除问题

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelinePredictionMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelinePredictionMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelinePredictionMapper.xml
index b8c149a..5dd5657 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelinePredictionMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsGasPipelinePredictionMapper.xml
@@ -28,6 +28,7 @@
             <if test="predictDate != null  and predictDate != ''"> and predict_date = #{predictDate}</if>
             <if test="predictQuantity != null  and predictQuantity != ''"> and predict_quantity = #{predictQuantity}</if>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectApsGasPipelinePredictionById" parameterType="Long" resultMap="ApsGasPipelinePredictionResult">

--
Gitblit v1.9.3