lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
@@ -86,6 +86,7 @@ </if> AND (start_time <= #{ vo.endDate } AND end_time >= #{ vo.startDate }) AND status = '22' AND alarm != '' </where> ORDER BY start_time @@ -124,5 +125,19 @@ </where> </select> <!--查询时间段内运行数据--> <select id="selectRunningData" resultType="org.jeecg.modules.mdc.entity.MdcEquipmentRunningSection"> SELECT * FROM mdc_equipment_running_section WHERE equipment_id = #{ equipmentId } AND status = '3' AND (start_time <= #{ endDate } AND end_time >= #{ startDate }) ORDER BY start_time </select> </mapper>