From dab5169fdacf936eea7cbce234c8f3652ac84ebb Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 18 八月 2026 13:12:33 +0800
Subject: [PATCH] 生产计划页面排序

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

diff --git a/src/main/resources/mapper/production/ProductionPlanMapper.xml b/src/main/resources/mapper/production/ProductionPlanMapper.xml
index 69ccd36..c42211c 100644
--- a/src/main/resources/mapper/production/ProductionPlanMapper.xml
+++ b/src/main/resources/mapper/production/ProductionPlanMapper.xml
@@ -58,7 +58,7 @@
                 </if>
             </if>
         </where>
-        ORDER BY COALESCE(pp.id) DESC
+        ORDER BY COALESCE(pp.mps_no) DESC
     </select>
 
     <select id="selectWithMaterialByIds" resultType="com.ruoyi.production.bean.dto.ProductionPlanDto">

--
Gitblit v1.9.3