修改bug
This commit is contained in:
@@ -163,17 +163,19 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
public Guid TrialId { get; set; }
|
||||
public TaskAllocateObj TaskAllocateObjEnum { get; set; }
|
||||
|
||||
public bool IsFollowVisitAutoAssign { get; set; }
|
||||
public bool IsFollowVisitAutoAssign { get; set; } = true;
|
||||
|
||||
public bool IsFollowGlobalVisitAutoAssign { get; set; }
|
||||
public bool IsFollowGlobalVisitAutoAssign { get; set; } = true;
|
||||
|
||||
public TaskAllocateDefaultState FollowVisitAutoAssignDefaultState { get; set; }
|
||||
public bool IsFollowJudgeTaskAutoAssign { get; set; } = true;
|
||||
|
||||
public TaskAllocateDefaultState FollowGlobalVisitAutoAssignDefaultState { get; set; }
|
||||
|
||||
public bool IsFollowJudgeTaskAutoAssign { get; set; }
|
||||
public TaskAllocateDefaultState FollowVisitAutoAssignDefaultState { get; set; } = TaskAllocateDefaultState.Allocated;
|
||||
|
||||
public TaskAllocateDefaultState FollowJudgeTaskAutoAssignDefaultState { get; set; }
|
||||
public TaskAllocateDefaultState FollowGlobalVisitAutoAssignDefaultState { get; set; } = TaskAllocateDefaultState.Allocated;
|
||||
|
||||
|
||||
public TaskAllocateDefaultState FollowJudgeTaskAutoAssignDefaultState { get; set; } = TaskAllocateDefaultState.Allocated;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -615,11 +615,6 @@ namespace IRaCIS.Core.Application
|
||||
|
||||
_mapper.Map(trialConfig, trialInfo);
|
||||
|
||||
//if (_taskAllocationRuleRepository.Where(t => t.TrialId == trialConfig.TrialId && t.IsEnable && t.IsJudgeDoctor==false).Sum(t => t.PlanReadingRatio) != 100)
|
||||
//{
|
||||
// return ResponseOutput.NotOk("已启用医生比率不为百分之100");
|
||||
//}
|
||||
|
||||
return ResponseOutput.Ok(await _trialRepository.SaveChangesAsync());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user