You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Magic.Core.Entity;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Magic.Core.Service;
|
|
|
|
|
|
|
|
|
|
public interface ISysOrgService
|
|
|
|
|
{
|
|
|
|
|
Task AddOrg(AddOrgInput input);
|
|
|
|
|
Task DeleteOrg(DeleteOrgInput input);
|
|
|
|
|
Task<List<long>> GetDataScopeListByDataScopeType(int dataScopeType, long orgId);
|
|
|
|
|
Task<SysOrg> GetOrg([FromQuery] QueryOrgInput input);
|
|
|
|
|
Task<List<OrgOutput>> GetOrgList([FromQuery] OrgInput input);
|
|
|
|
|
Task<dynamic> GetOrgTree([FromQuery] OrgInput input);
|
|
|
|
|
Task<dynamic> QueryOrgPageList([FromQuery] PageOrgInput input);
|
|
|
|
|
Task UpdateOrg(UpdateOrgInput input);
|
|
|
|
|
Task<List<long>> GetAllDataScopeIdList();
|
|
|
|
|
}
|