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.MaterialCoordinateDto;
import com.elephant.framework.galaxy.aroad.module.emergency.dto.TeamEquipmentInfoDto;
import com.elephant.framework.galaxy.aroad.module.emergency.entity.EmergencyMaterial;

import java.util.List;
import java.util.Map;

/**
 * 应急处置物资
 *
 * @author songwenjie
 * @date 2019-03-21 14:50:12
 */
public interface EmergencyMaterialService extends IService<EmergencyMaterial> {
    IPage<EmergencyMaterial> getEmergencyMaterialPage(Page<EmergencyMaterial> page, String text);

    /**
     * @Description: 通过id查询队伍物资地址的坐标
     * @Param:
     * @return:
     * @Author: XingYuyang
     * @Date: 2019-04-09 14:03:25
     */
    List<MaterialCoordinateDto> getCoordinates(String teamIds);
    /**
     * @Description: 获取队伍列表
     * @Param:
     * @return:
     * @Author: XingYuyang
     * @Date: 2019-04-15 10:09:57
     */
    List<TeamEquipmentInfoDto> getTeams();
    /**
     * @Description: 应急资源全部经纬度
     * @Author: xuyanqi
     * @Date: 2019-5-8 09：10
     */
    List<Map<String,Object>> getLngLat();
    /**
     * 根据多ID查询列表
     */
    List<EmergencyMaterial> getByIds(List<String> idList);
}
