qc 问题稽查修改
This commit is contained in:
@@ -121,15 +121,17 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
}
|
||||
|
||||
if (inDto.ReadingCategorys.Count > 0)
|
||||
{
|
||||
await _enrollReadingCategoryRepository.BatchDeleteNoTrackingAsync(x => x.EnrollId == inDto.EnrollId);
|
||||
//if (inDto.ReadingCategorys.Count > 0)
|
||||
//{
|
||||
// await _enrollReadingCategoryRepository.BatchDeleteNoTrackingAsync(x => x.EnrollId == inDto.EnrollId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
await _enrollReadingCategoryRepository.DeleteFromQueryAsync(x => x.EnrollId == inDto.EnrollId);
|
||||
}
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// await _enrollReadingCategoryRepository.DeleteFromQueryAsync(x => x.EnrollId == inDto.EnrollId);
|
||||
//}
|
||||
|
||||
await _enrollReadingCategoryRepository.DeleteFromQueryAsync(x => x.EnrollId == inDto.EnrollId);
|
||||
|
||||
|
||||
List<EnrollReadingCategory> enrollReadings = inDto.ReadingCategorys.Select(x => new EnrollReadingCategory()
|
||||
|
||||
Reference in New Issue
Block a user