ออกคำสั่ง
This commit is contained in:
parent
a8bd7e3dab
commit
61b6f77d85
2 changed files with 2 additions and 504 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue