46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
using Dlhis.Basic.Appointment.Request;
|
|
using Dlhis.Basic.Appointment.Response;
|
|
using Dlhis.Entity.Device.Enums;
|
|
using Kurisu.AspNetCore.DataAccess.Dto;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Dlhis.Basic.Appointment.Services;
|
|
|
|
public interface IAppointmentService : IScopeDependency
|
|
{
|
|
/// <summary>
|
|
/// 预约分页
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<Pagination<AppointmentPageResponse>> GetPageAsync(AppointmentPageRequest request);
|
|
|
|
/// <summary>
|
|
/// 查看明细
|
|
/// </summary>
|
|
/// <param name="no"></param>
|
|
/// <returns></returns>
|
|
Task<List<AppointmentDetailResponse>> GetAppointmentDetailsByIdAsync(string no);
|
|
|
|
/// <summary>
|
|
/// 确认到达
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task ConfirmAsync(AppointmentConfirmRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 根据身份证获取最新访客预约
|
|
/// </summary>
|
|
/// <param name="idNo"></param>
|
|
/// <param name="factory"></param>
|
|
/// <returns></returns>
|
|
Task<AppointmentDetailResponse> GetTodayByIdNoAsync(string idNo, string factory);
|
|
|
|
|
|
Task<Pagination<AppointmentDetailResponse>> GetRecordPageByIdNoAsync([FromQuery] AppointmentIdNoPageRequest request);
|
|
|
|
Task<AppointmentSummaryResponse> GetSummaryAsync(string factory, DateTime start, DateTime end);
|
|
|
|
Task GenerateTaskAndUpdateFaceAsync(long detailId, string base64, DeviceTaskEnumType deviceTaskType);
|
|
} |