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

import java.util.List;

/**
 * 应急处置装备
 *
 * @author songwenjie
 * @date 2019-03-21 14:50:19
 */
public interface EmergencyEquipmentService extends IService<EmergencyEquipment> {
    IPage<EmergencyEquipment> getEmergencyEquipmentPage(Page<EmergencyEquipment> page, String text);

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

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