This commit is contained in:
harid 2025-11-05 17:02:41 +07:00
parent ee9e233e99
commit 33e8d487ef
2 changed files with 29 additions and 21 deletions

View file

@ -2122,7 +2122,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
// ---------------------------
dynamic header = null;
int _count = await _context.Disables.Where(x => x.PeriodExam.Id == id).CountAsync();
if (data.Count > 0)
if (_count > 0)
{
header = await _context.DisableScores
.Include(x => x.ScoreImport)