package com.elephant.framework.galaxy.aroad.module.emergency.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elephant.framework.galaxy.aroad.module.emergency.dto.CarCoordinateDto;
import com.elephant.framework.galaxy.aroad.module.emergency.dto.TeamEquipmentInfoDto;
import com.elephant.framework.galaxy.aroad.module.emergency.entity.EmergencyCar;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 应急处置车辆
 *
 * @author songwenjie
 * @date 2019-03-21 14:50:26
 */
public interface EmergencyCarMapper extends BaseMapper<EmergencyCar> {
    IPage<EmergencyCar> getEmergencyCarPage(Page<EmergencyCar> page, @Param("text") String text);

    List<CarCoordinateDto> getCoordinates(@Param("teamids") List<String> teamIdList);

    List<TeamEquipmentInfoDto> getTeams();
}
