ออกคำสั่ง

This commit is contained in:
kittapath 2024-10-04 22:43:49 +07:00
parent a8bd7e3dab
commit 61b6f77d85
2 changed files with 2 additions and 504 deletions

View file

@ -1501,12 +1501,12 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
try
{
var data1 = await _context.DisciplineInvestigate_ProfileComplaints
.Where(x => req.refIds.Contains(x.DisciplineInvestigate.DisciplineComplaint.Id.ToString()))
.Where(x => req.refIds.Contains(x.Id.ToString()))
.ToListAsync();
data1.ForEach(profile => profile.IsReport = "REPORT");
var data2 = await _context.DisciplineDisciplinary_ProfileComplaintInvestigates
.Where(x => req.refIds.Contains(x.DisciplineDisciplinary.DisciplineInvestigate.DisciplineComplaint.Id.ToString()))
.Where(x => req.refIds.Contains(x.Id.ToString()))
.ToListAsync();
data2.ForEach(profile => profile.IsReport = "REPORT");