no message

This commit is contained in:
kittapath 2024-10-28 09:57:11 +07:00
parent b9814bd346
commit d356332718
11 changed files with 515 additions and 75 deletions

View file

@ -14,6 +14,7 @@ using Newtonsoft.Json.Linq;
using Swashbuckle.AspNetCore.Annotations;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Reflection;
namespace BMA.EHR.Placement.Service.Controllers
{
@ -991,7 +992,32 @@ namespace BMA.EHR.Placement.Service.Controllers
RemarkHorizontal = r.RemarkHorizontal,
RemarkVertical = r.RemarkVertical,
}).ToList();
return Success(report_data);
var result = new List<dynamic>();
foreach (var r in report_data)
{
result.Add(r);
string? _null = null;
result.Add(new {
No = _null,
FullName = r.RemarkHorizontal,
Education = _null,
OldOc = _null,
OldPositionType = _null,
OldPositionLevel = _null,
OldSalary = _null,
NewOc = _null,
NewPositionType = _null,
NewPositionLevel = _null,
NewPositionNumber = _null,
NewSalary = _null,
AppointDate = _null,
RemarkHorizontal = _null,
RemarkVertical = _null,
});
}
return Success(result);
}
catch
{