Uat_Study
he 2022-06-06 20:26:19 +08:00
parent 02dad302d5
commit 056a7bef43
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ namespace IRaCIS.Application.Services
/// <returns></returns>
public async Task<List<PreviewTheReadingListOutDto>> GetPreviewTheReadingList(PreviewTheReadingListInDto inDto)
{
if (await _readingPeriodPlanRepository.AnyAsync(x => x.ReadingPeriodSetId == inDto.ReadingPeriodSetId))
{
await _readingPeriodPlanRepository.DeleteFromQueryAsync(x => x.ReadingPeriodSetId == inDto.ReadingPeriodSetId);