From f568916d4fc630a6c26a4de74d6a6853d87ef114 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 09 十月 2026 21:01:52 +0800
Subject: [PATCH] feat: 更新查询顺序以首先显示多个服务和映射器中的最新记录
---
src/main/resources/mapper/production/ProductionProductInputMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductionProductInputMapper.xml b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
index 65e2b96..08db147 100644
--- a/src/main/resources/mapper/production/ProductionProductInputMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductInputMapper.xml
@@ -26,7 +26,7 @@
and ppm.id = #{c.productMainId}
</if>
</where>
- order by ppi.id
+ order by ppi.create_time desc, ppi.id desc
</select>
<delete id="deleteByProductMainIds" parameterType="java.util.List">
--
Gitblit v1.9.3