lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentOvertimeMapper.xml
@@ -77,4 +77,17 @@ </where> order by t2.effective_date asc </select> <!--查询加班时长--> <select id="computeOvertime" resultType="org.jeecg.modules.mdc.entity.MdcEquipmentOvertime"> SELECT meo.* FROM mdc_equipment_overtime meo LEFT JOIN mdc_device_calendar mdc ON meo.calendar_id = mdc.id WHERE mdc.effective_date LIKE CONCAT(#{ validDate }, '%') AND mdc.equipment_id = #{ equipmentId } AND mdc.shift_sub_id = #{ shiftSubId } </select> </mapper>