From 2d727903343feb01fedc988370091395c368faf2 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期二, 17 十二月 2024 16:06:42 +0800
Subject: [PATCH] OEE功能及设备管理调整

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPlanCloseMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPlanCloseMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPlanCloseMapper.xml
index ad62fad..af2f3af 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPlanCloseMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcPlanCloseMapper.xml
@@ -33,4 +33,16 @@
         </where>
         ORDER BY the_date DESC, equipment_id ASC
     </select>
+
+    <!--璁$畻 璁″垝/闈炶鍒掑仠鏈哄綋澶╂�绘椂闀�-->
+    <select id="findPlanTimeDuration" resultType="java.lang.Integer">
+        SELECT
+            sum(plan_close_time_long)
+        FROM
+            mdc_plan_close
+        WHERE
+            equipment_id = #{equipmentId}
+            AND the_date = #{validDate}
+            AND close_type = #{closeType}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3