package com.casic.missiles.modular.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.casic.missiles.core.datascope.DataScope;
import com.casic.missiles.modular.system.dao.AlarmNowViewMapper;
import com.casic.missiles.modular.system.dto.AlarmNowView;
import com.casic.missiles.modular.system.service.IAlarmNowViewService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author casic123
 * @since 2019-05-17
 */
@Service
public class AlarmNowViewServiceImpl extends ServiceImpl<AlarmNowViewMapper, AlarmNowView> implements IAlarmNowViewService {

    @Override
    public List<AlarmNowView> getNowAlarmRecords(DataScope dataScope) {
        return this.baseMapper.getNowAlarmRecords(dataScope);
    }

    @Override
    public List<AlarmNowView> getAlarmsByWell(Long id) {
        return this.baseMapper.getAlarmsByWell(id);
    }


}
