| | |
| | | import org.jeecg.modules.mdc.entity.EquipmentAlarm; |
| | | import org.jeecg.modules.mdc.mapper.EquipmentAlarmMapper; |
| | | import org.jeecg.modules.mdc.service.IEquipmentAlarmService; |
| | | import org.jeecg.modules.screen.dto.AlarmInfoDto; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | |
| | | .ge(EquipmentAlarm::getCollecttime, startTime).le(EquipmentAlarm::getCollecttime, endTime) |
| | | .eq(EquipmentAlarm::getEquipmentid, equipmentId).orderByDesc(EquipmentAlarm::getCollecttime)); |
| | | } |
| | | |
| | | @Override |
| | | public List<AlarmInfoDto> getAlarmInfo(String productionId) { |
| | | return this.baseMapper.getAlarmInfo(productionId); |
| | | } |
| | | } |