package com.njcn.gather.system.dictionary.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.gather.system.dictionary.pojo.po.DictTree;
import com.njcn.gather.system.dictionary.pojo.vo.DictTreeVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author caozehui
 * @data 2024/11/8
 */
public interface DictTreeMapper extends BaseMapper<DictTree> {
    List<DictTreeVO> queryLastLevelById(@Param("id") String id);

    /**
     * 获取电压相角、电流相角的id列表
     *
     * @return
     */
    List<String> getPhaseAngleIds();
}
