package com.chinaweal.aiccs.aiccs.dict.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chinaweal.aiccs.aiccs.abnormal.entity.vo.DissentListVo;
import com.chinaweal.aiccs.aiccs.dict.entity.CascadeTreeNode;
import com.chinaweal.aiccs.aiccs.dict.entity.CmsDictCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典代码 Mapper 接口
 * </p>
 *
 * @author Lee
 * @since 2021-11-17
 */
public interface CmsDictCodeMapper extends BaseMapper<CmsDictCode> {

    IPage<CmsDictCode> selectCodeListPage(Page<CmsDictCode> page,@Param("customParamMap") Map<String, Object> customParamMap);

    List<CascadeTreeNode> getNodeList(@Param("level")int level,@Param("type")String type,@Param("parentid")String parentid);
}

