From 3b20c91323abd42512a45a8796871a81454f53b8 Mon Sep 17 00:00:00 2001
From: cuikaidong <ckd2942379034@163.com>
Date: 星期五, 29 八月 2025 09:54:58 +0800
Subject: [PATCH] 设备单表设备编号处理

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
index 828999f..c760022 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -129,7 +129,7 @@
             sd.id,
             sd.parent_id,
             sd.depart_name,
-            sd.org_type,
+            sd.org_code,
             me.equipment_id,
             me.equipment_name,
             me.equipment_type
@@ -152,7 +152,7 @@
             mp.id,
             mp.parent_id,
             mp.production_name,
-            mp.org_type,
+            mp.org_code,
             me.equipment_id,
             me.equipment_name,
             me.equipment_type
@@ -256,11 +256,6 @@
             </if>
         </where>
         order by t1.sort_no
-    </select>
-
-    <!--鏌ヨ鍗曡〃鏁版嵁-->
-    <select id="findWorkLineLast" resultType="org.jeecg.modules.mdc.dto.MdcEquipmentDto">
-        select top 1 spindlespeed, actualspindlespeed from [${tableName}] order by CollectTime  desc
     </select>
 
     <!--鏍规嵁id鑾峰彇璁惧淇℃伅-->

--
Gitblit v1.9.3