เพิ่มวันที่เข้า/ออกจากราชการ
This commit is contained in:
parent
d8d3838d5c
commit
f2df44cf6a
5 changed files with 12 additions and 2 deletions
|
|
@ -817,6 +817,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
amount = r.amount,
|
amount = r.amount,
|
||||||
positionSalaryAmount = r.positionSalaryAmount,
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
mouthSalaryAmount = r.mouthSalaryAmount,
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -913,6 +914,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
amount = r.amount,
|
amount = r.amount,
|
||||||
positionSalaryAmount = r.positionSalaryAmount,
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
mouthSalaryAmount = r.mouthSalaryAmount,
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1067,6 +1069,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
amount = r.amount,
|
amount = r.amount,
|
||||||
positionSalaryAmount = r.positionSalaryAmount,
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
mouthSalaryAmount = r.mouthSalaryAmount,
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1179,6 +1182,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
amount = r.amount,
|
amount = r.amount,
|
||||||
positionSalaryAmount = r.positionSalaryAmount,
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
mouthSalaryAmount = r.mouthSalaryAmount,
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
|
||||||
|
|
@ -1712,7 +1712,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
|
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
|
||||||
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
|
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
|
||||||
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
|
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
|
||||||
templateDoc = r.templateDoc
|
templateDoc = r.templateDoc,
|
||||||
|
isGovernment = true
|
||||||
},
|
},
|
||||||
bodyPosition = new
|
bodyPosition = new
|
||||||
{
|
{
|
||||||
|
|
@ -1978,7 +1979,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
|
positionType = p.posTypeName == null ? string.Empty : p.posTypeName,
|
||||||
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
|
positionLevel = p.posLevelName == null ? string.Empty : p.posLevelName,
|
||||||
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
|
refCommandNo = $"{r.commandNo}/{r.commandYear.ToThaiYear()}",
|
||||||
templateDoc = r.templateDoc
|
templateDoc = r.templateDoc,
|
||||||
|
isGovernment = true
|
||||||
},
|
},
|
||||||
bodyPosition = new
|
bodyPosition = new
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -759,6 +759,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
isLeave = false,
|
isLeave = false,
|
||||||
leaveReason = _null,
|
leaveReason = _null,
|
||||||
dateLeave = _null,
|
dateLeave = _null,
|
||||||
|
isGovernment = true,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -911,6 +912,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
isLeave = false,
|
isLeave = false,
|
||||||
leaveReason = _null,
|
leaveReason = _null,
|
||||||
dateLeave = _null,
|
dateLeave = _null,
|
||||||
|
isGovernment = true
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
|
||||||
|
|
@ -547,6 +547,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
isLeave = true,
|
isLeave = true,
|
||||||
leaveReason = "ให้ออกจากราชการ",
|
leaveReason = "ให้ออกจากราชการ",
|
||||||
dateLeave = r.commandAffectDate,
|
dateLeave = r.commandAffectDate,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
|
||||||
|
|
@ -1882,6 +1882,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
isLeave = true,
|
isLeave = true,
|
||||||
leaveReason = "ลาออกจากราชการ",
|
leaveReason = "ลาออกจากราชการ",
|
||||||
dateLeave = r.commandAffectDate,
|
dateLeave = r.commandAffectDate,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue