package com.njcn.energy.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.energy.pojo.param.NetDevParam;
import com.njcn.energy.pojo.po.NetDev;
import com.njcn.energy.pojo.vo.EnergyDeviceTreeVO;
import com.njcn.energy.pojo.vo.NetDevInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cdf
 * @since 2022-02-22
 */
public interface NetDevMapper extends BaseMapper<NetDev> {

    /**
     * 获取所有网关
     * @author cdf
     * @date 2022/3/2
     */
    List<EnergyDeviceTreeVO> getNetDevList();

    /**
     * 获取网关详细信息
     * @author cdf
     * @date 2022/3/28
     */
    NetDevInfoVO getNetDevDetail(@Param("id") String id);

}
