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

import com.baomidou.mybatisplus.extension.service.IService;
import com.elephant.framework.galaxy.aroad.module.emergency.dto.TeamEquipmentCoordinateDto;
import com.elephant.framework.galaxy.aroad.module.emergency.entity.EmergencyTeam;
import com.elephant.framework.galaxy.aroad.module.emergency.entity.EmergencyTeamEquipment;

import java.util.List;

/**
 * 获取队伍装备基础信息
 *
 * @author XingYuyang
 * @date 2019-04-04 11:03:17
 */
public interface EmergencyTeamEquipmentService extends IService<EmergencyTeamEquipment> {
    /**
     * @Description: 获取队伍装备的坐标信息
     * @Param:
     * @return:
     * @Author: XingYuyang
     * @Date: 2019-04-04 11:09:54
     */
    List<TeamEquipmentCoordinateDto> getCoordinates();

    /**
     * @Description: 新增队伍信息
     * @Author: XingYuyang
     * @Date: 2019-04-16 10:35:01
     */
    boolean save(EmergencyTeam emergencyTeam);

    /**
     * @Description: 新增队伍信息
     * @Author: XingYuyang
     * @Date: 2019-04-16 10:35:01
     */
    boolean updateWithId(EmergencyTeam emergencyTeam);
}
