เพิ่ม 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; }

View file

@ -862,6 +862,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -1020,6 +1021,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -1176,6 +1178,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -1327,6 +1330,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -1489,6 +1493,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :

View file

@ -1934,6 +1934,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = string.Empty,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -2118,6 +2119,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -2289,6 +2291,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :
@ -2454,6 +2457,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :

View file

@ -675,6 +675,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -1038,6 +1038,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = string.Empty,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.posMasterNo == null ? "" :

View file

@ -536,6 +536,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -881,6 +881,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -740,6 +740,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,
@ -891,6 +892,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -528,6 +528,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -1763,6 +1763,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,
@ -1860,6 +1861,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,
@ -2002,6 +2004,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
profileId = p.profileId,
date = r.commandAffectDate,
amount = r.amount,
commandId = r.commandId,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
posNo = p.PositionNumberOld,

View file

@ -12,6 +12,7 @@ namespace BMA.EHR.Retirement.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; }