package com.ytpm.dao;

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

import java.util.List;

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