fix 增加具体人员提醒
This commit is contained in:
@@ -117,7 +117,7 @@ public class AppointmentService : IAppointmentService
|
|||||||
}
|
}
|
||||||
else if (gainfo.Type == GainfoUserTypeEnumType.Outsource)
|
else if (gainfo.Type == GainfoUserTypeEnumType.Outsource)
|
||||||
{
|
{
|
||||||
throw new UserFriendlyException("访客类型有误!");
|
throw new UserFriendlyException($"访客类型有误!,请检查{gainfo.Name},{gainfo.IdNo}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
// using Dlhis.Canteen.Api;
|
|
||||||
// using Dlhis.Entity.Canteen.Enums;
|
|
||||||
// using Dlhis.ScheduledTask.Attributes;
|
|
||||||
//
|
|
||||||
// namespace Dlhis.ScheduledTask.Jobs;
|
|
||||||
//
|
|
||||||
// /// <summary>
|
|
||||||
// ///
|
|
||||||
// /// </summary>
|
|
||||||
// [RecurringJob(nameof(CreateBirthdayTicketJob), "0 0 1 * * ?", Name = "生日券发放")]
|
|
||||||
// public class CreateBirthdayTicketJob : BaseJob
|
|
||||||
// {
|
|
||||||
// public CreateBirthdayTicketJob(IServiceProvider serviceProvider) : base(serviceProvider)
|
|
||||||
// {
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// /// <inheritdoc />
|
|
||||||
// protected override async Task RunAsync(IServiceProvider serviceProvider)
|
|
||||||
// {
|
|
||||||
// await serviceProvider.GetService<ITicketApi>().CreateAsync(TicketEnumType.Birthday.ToString());
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
Reference in New Issue
Block a user