From 28efdb2bf3511d6a05781a10aa406099f907396c Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期六, 08 八月 2026 19:21:44 +0800
Subject: [PATCH] fix: 报工根据创建日期来

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

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 456bf82..a9e58fe 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -49,7 +49,7 @@
                 and ppm.status = #{c.status}
             </if>
         </where>
-        order by ppm.id desc 
+        order by ppm.create_time desc
 
     </select>
     <select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">

--
Gitblit v1.9.3