From 32098219223b01253dc8d51cb077809fa43d50b6 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期三, 22 一月 2025 14:24:27 +0800 Subject: [PATCH] 故障停机和维修时长维护功能 --- 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