เพิ่มวันที่เข้า/ออกจากราชการ

This commit is contained in:
Bright 2024-10-22 14:21:36 +07:00
parent d8d3838d5c
commit f2df44cf6a
5 changed files with 12 additions and 2 deletions

View file

@ -817,6 +817,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
amount = r.amount,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
isGovernment = false,
}).ToList();
var baseAPIOrg = _configuration["API"];
@ -913,6 +914,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
amount = r.amount,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
isGovernment = false,
}).ToList();
var baseAPIOrg = _configuration["API"];
@ -1067,6 +1069,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
amount = r.amount,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
isGovernment = false
}).ToList();
var baseAPIOrg = _configuration["API"];
@ -1179,6 +1182,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
amount = r.amount,
positionSalaryAmount = r.positionSalaryAmount,
mouthSalaryAmount = r.mouthSalaryAmount,
isGovernment = false
}).ToList();
var baseAPIOrg = _configuration["API"];

View file

@ -1712,7 +1712,8 @@ namespace BMA.EHR.Placement.Service.Controllers
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
templateDoc = r.templateDoc
templateDoc = r.templateDoc,
isGovernment = true
},
bodyPosition = new
{
@ -1978,7 +1979,8 @@ namespace BMA.EHR.Placement.Service.Controllers
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
templateDoc = r.templateDoc
templateDoc = r.templateDoc,
isGovernment = true
},
bodyPosition = new
{

View file

@ -759,6 +759,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
isLeave = false,
leaveReason = _null,
dateLeave = _null,
isGovernment = true,
}).ToList();
var baseAPIOrg = _configuration["API"];
@ -911,6 +912,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
isLeave = false,
leaveReason = _null,
dateLeave = _null,
isGovernment = true
}).ToList();
var baseAPIOrg = _configuration["API"];

View file

@ -547,6 +547,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
isLeave = true,
leaveReason = "ให้ออกจากราชการ",
dateLeave = r.commandAffectDate,
isGovernment = false
}).ToList();
var baseAPIOrg = _configuration["API"];

View file

@ -1882,6 +1882,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
isLeave = true,
leaveReason = "ลาออกจากราชการ",
dateLeave = r.commandAffectDate,
isGovernment = false
}).ToList();
var baseAPIOrg = _configuration["API"];