Uat_Study
parent
9903b2413b
commit
c5dd859e4f
|
@ -198,7 +198,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public bool IsMustGlobalReading { get; set; }
|
public bool IsMustGlobalReading { get; set; }
|
||||||
|
|
||||||
public List<SystemGlobalInfo> DictionaryInfoList { get; set; }
|
public List<SystemGlobalInfo> DictionaryList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SystemGlobalInfo
|
public class SystemGlobalInfo
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace IRaCIS.Core.Application.Service.RC
|
||||||
|
|
||||||
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.SystemCriterionId && x.ParentCode == ReadingCommon.CriterionDictionary.GlobalAssess);
|
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.SystemCriterionId && x.ParentCode == ReadingCommon.CriterionDictionary.GlobalAssess);
|
||||||
|
|
||||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryInfoList.Select(x => new ReadingCriterionDictionary
|
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.DictionaryList.Select(x => new ReadingCriterionDictionary
|
||||||
{
|
{
|
||||||
CriterionId = inDto.SystemCriterionId,
|
CriterionId = inDto.SystemCriterionId,
|
||||||
DictionaryId = x.DictionaryId,
|
DictionaryId = x.DictionaryId,
|
||||||
|
|
Loading…
Reference in New Issue