Compare commits
No commits in common. "5eafcc9c8cb1b81610163ab6947c9b6011ca22ba" and "dff2e712ad4c464cf27e74c764aee1f129693632" have entirely different histories.
5eafcc9c8c
...
dff2e712ad
|
|
@ -696,19 +696,6 @@ namespace IRaCIS.Core.Application.Service
|
|||
SiteIds = inDto.SiteIds,
|
||||
});
|
||||
|
||||
if (await _readingPeriodSetRepository.AnyAsync(x => x.Id != inDto.TrialReadingCriterionId && x.IsTakeEffect != ReadingPeriodStatus.Revocation
|
||||
&& x.TrialId == inDto.TrialId && x.ReadingPeriodName == inDto.ReadingPeriodName && x.TrialReadingCriterionId == inDto.TrialReadingCriterionId))
|
||||
{
|
||||
|
||||
throw new BusinessValidationFailedException(_localizer["ReadingPeriodSet_NameDup"]);
|
||||
|
||||
}
|
||||
if (inDto.ReadingPeriodName == "Global")
|
||||
{
|
||||
throw new BusinessValidationFailedException(_localizer["ReadingPeriodSet_Global"]);
|
||||
|
||||
}
|
||||
|
||||
List<Guid> isChooseVisitIds = new List<Guid>();
|
||||
List<Guid> IsGenerateVisitIds = new List<Guid>();
|
||||
List<ReadingPeriodPlan> chooseVisitVisitList = new List<ReadingPeriodPlan>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue