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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
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 java.util.List;

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

    /**
     * @Description: 通过id查询队伍物资地址的坐标
     * @Param:
     * @return:
     * @Author: XingYuyang
     * @Date: 2019-04-09 14:03:25
     */
    List<CarCoordinateDto> getCoordinates(String teamIds);

    /**
     * @Description: 获取队伍列表
     * @Param:
     * @return:
     * @Author: XingYuyang
     * @Date: 2019-04-15 10:09:57
     */
    List<TeamEquipmentInfoDto> getTeams();
}
