package com.winsun.service;

import com.baomidou.mybatisplus.service.IService;
import com.winsun.bean.HhrUser;

import java.util.List;

/**
 * 用户操作
 * @author chengfengluo
 * @date 2021-03-11 15:00
 */
public interface IHhrUserService extends IService<HhrUser> {

    /**
     * 获取管辖内用户id
     * @return
     */
    List<Integer> getUserIds (Integer userId, List<String> roles);

    /**
     * 获取子用户
     * @param userId
     * @return
     */
    List<Integer> getChildrenUser(Integer userId);
}
