From 72b7430ecbfc96536df09ec641713421c67537fd Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 21 九月 2024 08:11:07 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/agv/AgvList.jsx                           |    2 +-
 zy-acs-manager/src/main/resources/mapper/manager/AgvMapper.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-acs-flow/src/page/agv/AgvList.jsx b/zy-acs-flow/src/page/agv/AgvList.jsx
index 49915eb..6692039 100644
--- a/zy-acs-flow/src/page/agv/AgvList.jsx
+++ b/zy-acs-flow/src/page/agv/AgvList.jsx
@@ -55,7 +55,7 @@
 
     return (
         <>
-            <ListBase perPage={50} sort={{ field: "uuid", order: "asc" }}>
+            <ListBase perPage={50} sort={{ field: "create_time", order: "asc" }}>
                 <AgvGridLayout
                     setCreateDialog={setCreateDialog}
                 />
diff --git a/zy-acs-manager/src/main/resources/mapper/manager/AgvMapper.xml b/zy-acs-manager/src/main/resources/mapper/manager/AgvMapper.xml
index 957384a..0168bb0 100644
--- a/zy-acs-manager/src/main/resources/mapper/manager/AgvMapper.xml
+++ b/zy-acs-manager/src/main/resources/mapper/manager/AgvMapper.xml
@@ -19,7 +19,7 @@
         <if test="param.agvModel != null">
             AND ma.agv_model = #{param.agvModel}
         </if>
-        order by ma.uuid asc
+        order by CONVERT(ma.uuid, UNSIGNED) asc
     </select>
 
 </mapper>

--
Gitblit v1.9.1