修改一版
This commit is contained in:
@@ -473,10 +473,12 @@ namespace IRaCIS.Core.Application.Service.RC
|
||||
{
|
||||
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.CriterionId && x.ParentCode == inDto.ParentCode);
|
||||
|
||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryIds.Select(x => new ReadingCriterionDictionary()
|
||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryList.Select(x => new ReadingCriterionDictionary()
|
||||
{
|
||||
CriterionId = inDto.CriterionId,
|
||||
DictionaryId = x,
|
||||
DictionaryId = x.DictionaryId,
|
||||
IsBaseLineUse=x.IsBaseLineUse,
|
||||
IsFollowVisitUse=x.IsFollowVisitUse,
|
||||
IsSystemCriterion = true,
|
||||
ParentCode = inDto.ParentCode
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user