From 08394ddba46994e5b6c05080fc9b40b4daf36292 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 11 八月 2025 16:11:57 +0800 Subject: [PATCH] update --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentStatisticalInfoMapper.xml | 10 +++++----- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOeeInfoMapper.xml | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentStatisticalInfoMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentStatisticalInfoMapper.xml index a91e6f0..c501223 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentStatisticalInfoMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentStatisticalInfoMapper.xml @@ -34,11 +34,11 @@ <select id="findByEquipmentAndDate" resultType="org.jeecg.modules.mdc.entity.MdcEquipmentStatisticalInfo"> SELECT the_date, - AVG ( open_long ) openLong, - AVG ( wait_long ) waitLong, - AVG ( process_long ) processLong, - AVG ( close_long ) closeLong, - AVG ( error_long ) errorLong + AVG( open_long ) openLong, + AVG( wait_long ) waitLong, + AVG( process_long ) processLong, + AVG( close_long ) closeLong, + AVG( error_long ) errorLong FROM mdc_equipment_statistical_info <where> diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOeeInfoMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOeeInfoMapper.xml index 13a415c..be6712a 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOeeInfoMapper.xml +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcOeeInfoMapper.xml @@ -40,6 +40,7 @@ <foreach collection="equipmentIdList" item="id" index="index" open="(" close=")" separator=","> #{ id } </foreach> + AND plan_close_long != 1440 </where> GROUP BY the_date @@ -58,6 +59,6 @@ mdc_oee_info WHERE the_date LIKE CONCAT(#{month}, '%') - AND equipment_id = #{equipmentId} + AND equipment_id = #{equipmentId} AND plan_close_long != 1440 </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3