package com.sunyard.ssp.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunyard.ssp.modules.user.entity.ScRole;
import com.sunyard.ssp.modules.user.entity.ScUserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tsz
 * @since 2020-03-11
 */
public interface IScUserRoleService extends IService<ScUserRole> {

    List<ScRole> findByUserId(Long userId);

    List<String> findDepIdsByUserId(Long userId);
}
