fix 调整查询逻辑
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Dlhis.Basic.Appointment.Request;
|
||||
using Dlhis.Basic.Appointment.Response;
|
||||
using Dlhis.Basic.Appointment.Services;
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
@@ -60,6 +60,15 @@ public class AppointmentsController : ControllerBase
|
||||
await _appointmentService.ConfirmAsync(request);
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
[HttpPost("face/update")]
|
||||
[Transactional]
|
||||
[IgnoreTenant]
|
||||
public async Task GenerateTaskAndUpdateFaceAsync(AppointmentConfirmRequest request)
|
||||
{
|
||||
await _appointmentService.GenerateTaskAndUpdateFaceAsync(request.Id, request.Base64Image, DeviceTaskEnumType.Update);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据身份证获取当天预约信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user