package com.ytpm.dao;

import com.ytpm.agent.view.AgentDictView;
import com.ytpm.risk.view.DictView;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface AgentDictMapper {
    /**
     * 查询字典表数据
     */
    List<AgentDictView> selectDictList();
    /**
     * 根据类型编码获取字典数据
     * @param typeCode
     * @return
     */
    List<DictView> getByTypeCode(@Param("typeCode") String typeCode);
}
