From e632c7124b8ccff93396a5fecba83a5b6a6d835a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 04 九月 2026 09:59:14 +0800
Subject: [PATCH] fix(device): 修正报修时间字段日期格式

---
 src/main/resources/mapper/production/ProductionOrderMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductionOrderMapper.xml b/src/main/resources/mapper/production/ProductionOrderMapper.xml
index 7ca1bce..0bd6af2 100644
--- a/src/main/resources/mapper/production/ProductionOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductionOrderMapper.xml
@@ -125,7 +125,7 @@
         <include refid="ProductionOrderVoColumns" />
         <include refid="ProductionOrderVoFrom" />
         <include refid="ProductionOrderWhere" />
-        order by po.id desc
+        order by po.status  , po.plan_complete_time desc
     </select>
 
     <select id="listProductionOrder" resultMap="ProductionOrderVoResultMap">

--
Gitblit v1.9.3