You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.9 KiB
67 lines
1.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using BaseService.BaseData.BranchManagement.Dto;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Application.Services;
|
|
using Volo.Abp.Identity;
|
|
|
|
namespace BaseService.RelationData
|
|
{
|
|
/// <summary>
|
|
/// 分支接口:无权限设置调用
|
|
/// </summary>
|
|
public interface IBranchRelationAppService : IApplicationService
|
|
{
|
|
/// <summary>
|
|
/// 获取所有分支
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
Task<PagedResultDto<BranchDto>> GetPagedAsync(GetBranchInputDto input);
|
|
|
|
/// <summary>
|
|
/// 加载所有分支
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="filter"></param>
|
|
/// <returns></returns>
|
|
Task<ListResultDto<BranchDto>> GetChildrenAsync(Guid? id, string filter);
|
|
|
|
/// <summary>
|
|
/// 加载所有分支子节点
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<ListResultDto<BranchDto>> GetAllAsync();
|
|
|
|
/// <summary>
|
|
/// 获取单条分支信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
Task<BranchDto> GetAsync(Guid id);
|
|
|
|
/// <summary>
|
|
/// 创建分支信息
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
Task<BranchDto> CreateAsync(CreateOrUpdateBranchDto input);
|
|
|
|
/// <summary>
|
|
/// 更新分支信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
Task<BranchDto> UpdateAsync(Guid id, CreateOrUpdateBranchDto input);
|
|
|
|
/// <summary>
|
|
/// 删除分支信息
|
|
/// </summary>
|
|
/// <param name="ids"></param>
|
|
/// <returns></returns>
|
|
Task DeleteAsync(List<Guid> ids);
|
|
}
|
|
}
|
|
|