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

import java.util.List;

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

    List<EquipmentCoordinateDto> getCoordinates(@Param("teamids") List<String> teamIdList);
    List<TeamEquipmentInfoDto> getTeams();
}
