package com.willalp.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.system.domain.HsPostConfig;
import com.willalp.system.domain.vo.PostTreeVo;

import java.util.List;

/**
 * 岗位配置Service接口
 *
 * @author willalp
 * @date 2022-09-21
 */
public interface IHsPostConfigService extends IService<HsPostConfig>
{
    /**
     * 查询岗位配置列表
     *
     * @param hsPostConfig 岗位配置
     * @return 岗位配置集合
     */
    public List<HsPostConfig> selectHsPostConfigList(HsPostConfig hsPostConfig);

    /**
     * 获取树岗位
     *
     * @return
     * @param hsPostConfigs
     */
    List<PostTreeVo> getTreePost(List<HsPostConfig> hsPostConfigs);

    List<PostTreeVo> setUsers(HsPostConfig postConfig);
}
