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;

/**
 * 应急处置物资
 *
 * @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();
}
