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.
46 lines
1.5 KiB
46 lines
1.5 KiB
2 years ago
|
using System.Collections.Generic;
|
||
|
using System.Data;
|
||
|
using System.Threading.Tasks;
|
||
|
using Znyc.Recruitment.Admin.Commons.Core.Dtos;
|
||
|
using Znyc.Recruitment.Admin.Commons.Entitys;
|
||
|
using Znyc.Recruitment.Admin.Commons.IServices;
|
||
|
using Znyc.Recruitment.Admin.Security.Dtos;
|
||
|
using Znyc.Recruitment.Admin.Security.Entitys;
|
||
|
|
||
|
namespace Znyc.Recruitment.Admin.Security.IServices
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ��֯����
|
||
|
/// </summary>
|
||
|
public interface IOrganizeService : IService<OrganizeEntity, OrganizeOutputDto, long>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// ��ȡ��֯����������Vue �����б�
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
Task<List<OrganizeOutputDto>> GetAllOrganizeTreeTable();
|
||
|
|
||
|
/// <summary>
|
||
|
/// ��ȡ���ڵ���֯
|
||
|
/// </summary>
|
||
|
/// <param name="id">��֯Id</param>
|
||
|
/// <returns></returns>
|
||
|
OrganizeEntity GetRootOrganize(long id);
|
||
|
|
||
|
/// <summary>
|
||
|
/// ����������ɾ��
|
||
|
/// </summary>
|
||
|
/// <param name="ids">����Id����</param>
|
||
|
/// <param name="trans">��������</param>
|
||
|
/// <returns></returns>
|
||
|
CommonResult DeleteBatchWhere(DeletesInputDto ids, IDbTransaction trans = null);
|
||
|
|
||
|
/// <summary>
|
||
|
/// �첽����������ɾ��
|
||
|
/// </summary>
|
||
|
/// <param name="ids">����Id����</param>
|
||
|
/// <param name="trans">��������</param>
|
||
|
/// <returns></returns>
|
||
|
Task<CommonResult> DeleteBatchWhereAsync(DeletesInputDto ids, IDbTransaction trans = null);
|
||
|
}
|
||
|
}
|