no message
This commit is contained in:
parent
b9814bd346
commit
d356332718
11 changed files with 515 additions and 75 deletions
|
|
@ -1013,7 +1013,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
.Where(x => req.refIds.Select(x => x.refId).Contains(x.Id.ToString()))
|
||||
.ToListAsync();
|
||||
|
||||
var resultData = (from p in data
|
||||
var report_data = (from p in data
|
||||
join r in req.refIds
|
||||
on p.Id.ToString() equals r.refId
|
||||
select new
|
||||
|
|
@ -1025,7 +1025,21 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
salary = r.Amount
|
||||
}).ToList();
|
||||
|
||||
return Success(resultData);
|
||||
var result = new List<dynamic>();
|
||||
|
||||
foreach (var r in report_data)
|
||||
{
|
||||
result.Add(r);
|
||||
string? _null = null;
|
||||
result.Add(new {
|
||||
fullName = _null,
|
||||
positionname = r.RemarkHorizontal,
|
||||
positionno = _null,
|
||||
organizationname = _null,
|
||||
salary = _null,
|
||||
});
|
||||
}
|
||||
return Success(result);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue