package com.djhk.uav.uav.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.djhk.uav.uav.model.UavOrganizationDevice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 无人机编队详情Mapper接口
 *
 * @author jiachengshuai
 * @date 2023-02-28
 */
@Mapper
public interface UavOrganizationDeviceMapper extends BaseMapper<UavOrganizationDevice>
{
    /**
     * 查询无人机编队详情
     *
     * @param id 无人机编队详情主键
     * @return 无人机编队详情
     */
    public UavOrganizationDevice selectUavOrganizationDeviceById(Long id);

    /**
     * 查询无人机编队详情列表
     *
     * @param uavOrganizationDevice 无人机编队详情
     * @return 无人机编队详情集合
     */
    public List<UavOrganizationDevice> selectUavOrganizationDeviceList(UavOrganizationDevice uavOrganizationDevice);

    /**
     * 新增无人机编队详情
     *
     * @param uavOrganizationDevice 无人机编队详情
     * @return 结果
     */
    public int insertUavOrganizationDevice(UavOrganizationDevice uavOrganizationDevice);

    /**
     * 修改无人机编队详情
     *
     * @param uavOrganizationDevice 无人机编队详情
     * @return 结果
     */
    public int updateUavOrganizationDevice(UavOrganizationDevice uavOrganizationDevice);

    /**
     * 删除无人机编队详情
     *
     * @param id 无人机编队详情主键
     * @return 结果
     */
    public int deleteUavOrganizationDeviceById(Long id);

    /**
     * 批量删除无人机编队详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUavOrganizationDeviceByIds(Long[] ids);
}
