package com.willalp.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.system.domain.SysUserOrganization;
import com.willalp.system.domain.resp.OrganizationListResp;

import java.util.List;


/**
 * 用户机构Service接口
 *
 * @author willalp
 * @date 2021-12-23
 */
public interface ISysUserOrganizationService extends IService<SysUserOrganization> {

    /**
     * 查询用户机构列表
     *
     * @param sysUserOrganization 用户机构
     * @return 用户机构集合
     */
    List<SysUserOrganization> selectSysUserOrganizationList(SysUserOrganization sysUserOrganization);

    List<SysUserOrganization> queryOrganizationByUserId(Long userId);

    List<OrganizationListResp> getOrganizationByUserName(String userName);

}
