From badd2b470f57a761d5c629a89f57aa8e91d85ed1 Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期三, 21 五月 2025 12:11:46 +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