From 77a5d067b0b5ce49b8d68c3cddfbaf9120a996c5 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 14 Jan 2026 10:49:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=B1=BB=E5=9E=8B=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Appointment/Services/Implements/AppointmentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("访客类型有误!"); }