package cn.com.countrygarden.bi.main.dao.advise;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.dto.advise.AdviseResponsiblerDTO;
import cn.com.countrygarden.bi.main.model.advise.AfAdviseResponsibler;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 建言负责人-数据层
 *
 * @author 木木子
 * @email 944528607@qq.com
 * @url 
 * @date 2019-04-15
 */
public interface AfAdviseResponsiblerMapper extends Mapper<AfAdviseResponsibler>{
    /**
     * 获得此用户所有的角色
     * @param userCode ：用户编号
     * @param branchTypeCode ：用户编号
     * @return
     */
    List<AdviseResponsiblerDTO> selectAdviseResponsiblerDTOAll(@Param("userCode") String userCode, @Param("branchTypeCode") String branchTypeCode);
}