Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop

This commit is contained in:
kittapath 2024-10-21 14:34:02 +07:00
commit 835b0ce337
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

@ -863,6 +863,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 ? "" :
@ -1021,6 +1022,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 ? "" :
@ -1177,6 +1179,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 ? "" :
@ -1328,6 +1331,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 ? "" :
@ -1490,6 +1494,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

@ -1943,6 +1943,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 ? "" :
@ -2127,6 +2128,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 ? "" :
@ -2298,6 +2300,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 ? "" :
@ -2463,6 +2466,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

@ -676,6 +676,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

@ -1039,6 +1039,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

@ -537,6 +537,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

@ -882,6 +882,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

@ -1762,6 +1762,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,
@ -1859,6 +1860,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,
@ -2001,6 +2003,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; }