From 59bdcf96dcb92d834139fc3ca31ec699fb1cbd9a Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Mon, 1 Jun 2026 16:10:18 +0800
Subject: [PATCH] =?UTF-8?q?style(mes/roll/grind):=20=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=E7=A3=A8=E5=89=8A=E8=AE=B0=E5=BD=95=E6=9F=A5=E8=AF=A2=E6=8E=92?=
=?UTF-8?q?=E5=BA=8F=E4=B8=BA=E9=99=8D=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
将磨削记录的默认排序从按磨削时间升序改为降序,确保最新的磨削记录显示在列表前面,便于用户优先查看最近的操作记录。
---
klp-mes/src/main/resources/mapper/roll/MesRollGrindMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/klp-mes/src/main/resources/mapper/roll/MesRollGrindMapper.xml b/klp-mes/src/main/resources/mapper/roll/MesRollGrindMapper.xml
index 0b40255f..82884e23 100644
--- a/klp-mes/src/main/resources/mapper/roll/MesRollGrindMapper.xml
+++ b/klp-mes/src/main/resources/mapper/roll/MesRollGrindMapper.xml
@@ -25,7 +25,7 @@
AND line_id = #{lineId}
AND grind_time >= #{beginTime}
AND grind_time <= #{endTime}
- ORDER BY grind_time ASC, grind_id ASC
+ ORDER BY grind_time DESC, grind_id ASC