| | |
| | | |
| | | IPage<MdcDeviceCalendarVo> pageList(IPage<MdcDeviceCalendarVo> pageData, @Param("deviceCalendar") MdcDeviceCalendarQueryVo mdcDeviceCalendarQueryVo); |
| | | |
| | | List<MdcDeviceCalendarVo> listByEquipmentAndDate(@Param("equipmentid") String equipmentid, @Param("stringDate") String stringDate); |
| | | List<MdcDeviceCalendarVo> listByEquipmentAndDate(@Param("equipmentId") String equipmentId, @Param("stringDate") String stringDate); |
| | | |
| | | List<MdcDeviceCalendarVo> findAcquiesceShift(); |
| | | |
| | |
| | | t3.sleep_start_date, |
| | | t3.sleep_end_date, |
| | | t3.is_day_span, |
| | | t4.equipment_name, |
| | | t4.equipment_id |
| | | t4.equipment_name |
| | | 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 |
| | | LEFT JOIN mdc_equipment t4 ON t1.equipment_id = t4.equipment_id |
| | | <where> |
| | | <if test="equipmentid != null and equipmentid != ''"> |
| | | AND t4.equipment_id = #{ equipmentid } |
| | | <if test="equipmentId != null and equipmentId != ''"> |
| | | AND t4.equipment_id = #{ equipmentId } |
| | | </if> |
| | | <if test="stringDate != null and stringDate != ''"> |
| | | AND t1.effective_date = #{ stringDate } |