package com.chinaweal.aiccs.aiccs.abnormal.mapper;

import com.chinaweal.aiccs.aiccs.abnormal.entity.Gzaiccode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chinaweal.aiccs.aiccs.dict.entity.CascadeTreeNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chinaweal
 * @since 2021-10-21
 */
public interface GzaiccodeMapper extends BaseMapper<Gzaiccode> {

    List<CascadeTreeNode> getNodeList(@Param("slevel")String slevel, @Param("parentid") String parentid);

    List<CascadeTreeNode> getNodeByOrg(@Param("org") String org);

    List<CascadeTreeNode> getNameByOrg(@Param("org") String org);

    List<CascadeTreeNode> getChildStationList(@Param("slevel")String slevel, @Param("parentid") String parentid);

}
