เพิ่ม id คำสั่งลงประวัติตำแหน่ง #665

This commit is contained in:
AdisakKanthawilang 2024-10-21 14:23:42 +07:00
parent e989d6c584
commit cea266afdb
12 changed files with 31 additions and 0 deletions

View file

@ -799,6 +799,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -891,6 +892,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1041,6 +1043,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1149,6 +1152,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1256,6 +1260,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1363,6 +1368,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1470,6 +1476,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1577,6 +1584,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1684,6 +1692,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,
@ -1807,6 +1816,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
select new
{
profileId = p.PersonId,
commandId = r.commandId,
date = r.commandAffectDate,
refCommandNo = $"{r.commandNo}/{r.commandYear}",
salaryRef = r.templateDoc,

View file

@ -12,6 +12,7 @@ namespace BMA.EHR.Discipline.Service.Requests
public string? refId { get; set; }
public DateTime commandAffectDate { get; set; }
public string? commandNo { get; set; }
public string? commandId { get; set; }
public int commandYear { get; set; }
public string? templateDoc { get; set; }
public double? amount { get; set; }