招聘后台
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.

51 lines
1.6 KiB

using System.Threading.Tasks;
using Znyc.Recruitment.Admin.Commons.Entitys;
using Znyc.Recruitment.Admin.Commons.IServices;
using Znyc.Recruitment.Admin.Commons.Pages;
using Znyc.Recruitment.Admin.Security.Dtos;
using Znyc.Recruitment.Admin.Security.Entitys;
namespace Znyc.Recruitment.Admin.Security.IServices
{
/// <summary>
/// </summary>
public interface IRecruitmentService : IService<RecruitmentEntity, RecruitmentOutputDto, long>
{
/// <summary>
/// ����������ѯ���ݿ�,�����ض��󼯺�(���ڷ�ҳ������ʾ)
/// </summary>
/// <param name="search">��ѯ������</param>
/// <returns>ָ�������ļ���</returns>
Task<PageResult<RecruitmentOutputDto>> FindWithPagerSearchAsync(SearchRecruitmentModel search);
/// <summary>
/// �첽��������
/// </summary>
/// <param name="intput"></param>
/// <returns></returns>
Task<CommonResult> InsertAsync(RecruitmentEntity intput);
/// <summary>
/// �첽�޸�����
/// </summary>
/// <param name="tinfo"></param>
/// <returns></returns>
Task<CommonResult> UpdateAsync(RecruitmentEntity tinfo);
/// <summary>
///
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<RecruitmentOutputDto> GetById(long id);
/// <summary>
/// �¼���Ƹ��Ϣ
/// </summary>
/// <param name="id"></param>
/// <param name="userId"></param>
/// <returns></returns>
Task<CommonResult> RevocationAsync(long id, long userId);
}
}