fix #1934
This commit is contained in:
parent
ee9e233e99
commit
33e8d487ef
2 changed files with 29 additions and 21 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue