diff --git a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs index 72364110..243605b1 100644 --- a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs +++ b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs @@ -115,7 +115,7 @@ public class AppointmentService : IAppointmentService await _dbContext.UpdateAsync(gainfo); } - else + else if (gainfo.Type == GainfoUserTypeEnumType.Outsource) { throw new UserFriendlyException("访客类型有误!"); }