lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcDeviceCalendarMapper.xml
@@ -117,4 +117,8 @@ AND equipment_id = #{ equipmentId } </select> <select id="getFirstData" resultType="org.jeecg.modules.mdc.entity.MdcDeviceCalendar"> SELECT TOP 1 * FROM mdc_device_calendar WHERE equipment_id = #{ equipmentId } ORDER BY effective_date ASC </select> </mapper>