lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcDeviceCalendarMapper.xml
@@ -152,4 +152,16 @@ t1.effective_date ASC </select> <select id="findShiftByEquId" resultType="org.jeecg.modules.mdc.entity.MdcShiftSub"> SELECT t3.* FROM mdc_device_calendar t1 LEFT JOIN mdc_shift t2 ON t1.shift_id = t2.id LEFT JOIN mdc_shift_sub t3 ON t1.shift_sub_id = t3.id WHERE t1.equipment_id = #{equipmentId} AND t1.effective_date = #{date} </select> </mapper>