40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using Dlhis.Basic.Appointment.Request;
|
|
using Dlhis.Basic.Appointment.Response;
|
|
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>
|
|
/// <returns></returns>
|
|
Task<AppointmentDetailResponse> GetTodayByIdNoAsync(string idNo);
|
|
|
|
|
|
Task<Pagination<AppointmentDetailResponse>> GetRecordPageByIdNoAsync([FromQuery] AppointmentIdNoPageRequest request);
|
|
} |