修改致众留存提交
parent
5f26cbd80f
commit
a07334ec37
Binary file not shown.
|
@ -0,0 +1,61 @@
|
|||
//using AutoMapper;
|
||||
//using EasyCaching.Core;
|
||||
//using EntityFrameworkCore.Triggered;
|
||||
//using IRaCIS.Core.Application.Service;
|
||||
//using IRaCIS.Core.Application.ViewModel;
|
||||
//using IRaCIS.Core.Domain.Share;
|
||||
//using IRaCIS.Core.Infrastructure;
|
||||
//using System.Linq.Expressions;
|
||||
|
||||
//namespace IRaCIS.Core.Application.Triggers
|
||||
//{
|
||||
|
||||
// public class VisitTaskIAfterSignTrigger : IAfterSaveTrigger<VisitTask>
|
||||
// {
|
||||
|
||||
// private readonly IRepository<VisitTask> _visitTaskRepository;
|
||||
|
||||
|
||||
// public VisitTaskIAfterSignTrigger(
|
||||
|
||||
// IRepository<VisitTask> visitTaskRepository)
|
||||
// {
|
||||
|
||||
// _visitTaskRepository = visitTaskRepository;
|
||||
// }
|
||||
|
||||
|
||||
// //添加任务的时候 如果需要签名 并且已经签名了 那么要维护该标准 该Subject IsFrontTaskNeedSignButNotSign字段
|
||||
// public async Task AfterSave(ITriggerContext<VisitTask> context, CancellationToken cancellationToken)
|
||||
// {
|
||||
// var visitTask = context.Entity;
|
||||
|
||||
|
||||
// if(visitTask.SignTime!=null && visitTask.ReadingTaskState == ReadingTaskState.HaveSigned)
|
||||
// {
|
||||
// switch (visitTask.ReadingCategory)
|
||||
// {
|
||||
// case ReadingCategory.Visit:
|
||||
|
||||
// break;
|
||||
// case ReadingCategory.Global:
|
||||
|
||||
// break;
|
||||
// case ReadingCategory.Judge:
|
||||
|
||||
// break;
|
||||
// case ReadingCategory.Oncology:
|
||||
|
||||
// break;
|
||||
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
//}
|
Loading…
Reference in New Issue