From dc6824a304a2d5fdb9f07335f24ab532ca2fce96 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期三, 29 四月 2026 10:27:01 +0800
Subject: [PATCH] fix(production): 解决生产机器记录重复添加问题
---
src/main/resources/mapper/production/ProductOrderMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/production/ProductOrderMapper.xml b/src/main/resources/mapper/production/ProductOrderMapper.xml
index c6030f7..ea6fdfc 100644
--- a/src/main/resources/mapper/production/ProductOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductOrderMapper.xml
@@ -69,6 +69,7 @@
and po.create_time between #{c.startTime} and #{c.endTime}
</if>
</where>
+ order by po.id desc
</select>
<select id="listProcessRoute" resultType="com.ruoyi.production.pojo.ProcessRoute">
select pr.*
--
Gitblit v1.9.3