From bb81166c8d0818c9211c334ed7b67d5f1166b81a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 09 一月 2024 10:47:16 +0800
Subject: [PATCH] 看板数据修改

---
 ycl-platform/src/main/resources/mapper/equipment/EquipmentBayonetMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/equipment/EquipmentBayonetMapper.xml b/ycl-platform/src/main/resources/mapper/equipment/EquipmentBayonetMapper.xml
index 146a602..b4fb97d 100644
--- a/ycl-platform/src/main/resources/mapper/equipment/EquipmentBayonetMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/equipment/EquipmentBayonetMapper.xml
@@ -43,8 +43,9 @@
         ums_sccg_region t4 on t4.id=t1.belong_area
         <where>
             <if test="bayonetName !=null and bayonetName !='' ">
-                name like CONCAT('%',#{bayonetName},'%')
+                t1.name like CONCAT('%',#{bayonetName},'%')
             </if>
         </where>
+        order by t1.id desc
     </select>
 </mapper>

--
Gitblit v1.8.0