เพิ่ม id คำสั่งลงประวัติตำแหน่ง #665
This commit is contained in:
parent
e989d6c584
commit
cea266afdb
12 changed files with 31 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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 ? "" :
|
||||
|
|
|
|||
|
|
@ -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 ? "" :
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 ? "" :
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue