招聘后台
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.4 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 IApplyJobService : IService<ApplyJobEntity, ApplyJobOutputDto, long>
{
#region 用于uniapp下拉选项
/// <summary>
/// 根据条件查询数据库,并返回对象集合(用于分页数据显示)
/// </summary>
/// <param name="search">查询的条件</param>
/// <returns>指定对象的集合</returns>
Task<PageResult<ApplyJobOutputDto>> FindWithPagerSearchAsync(SearchRecruitmentModel search);
Task<CommonResult> InsertAsync(ApplyJobEntity intput);
Task<CommonResult> UpdateAsync(ApplyJobEntity intput);
/// <summary>
/// 根据主键Id获取一个对象信息
/// </summary>
/// <param name="id">主键Id</param>
/// <returns></returns>
Task<ApplyJobOutputDto> GetById(long id);
/// <summary>
/// 下架求职信息
/// </summary>
/// <param name="id"></param>
/// <param name="userId"></param>
/// <returns></returns>
Task<CommonResult> RevocationAsync(long id, long userId);
#endregion 用于uniapp下拉选项
}
}