Merge branch 'develop' into working
This commit is contained in:
commit
35238d526f
15 changed files with 59 additions and 20 deletions
2
.github/workflows/release_Retirement.yaml
vendored
2
.github/workflows/release_Retirement.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-retirement
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-retirement
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_retirement.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
# act workflow_dispatch -W .github/workflows/release_retirement.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
|
|
|
||||||
2
.github/workflows/release_command.yaml
vendored
2
.github/workflows/release_command.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-command
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-command
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_command.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
# act workflow_dispatch -W .github/workflows/release_command.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
|
|
|
||||||
2
.github/workflows/release_discipline.yaml
vendored
2
.github/workflows/release_discipline.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-discipline
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-discipline
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_discipline.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
# act workflow_dispatch -W .github/workflows/release_discipline.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
|
|
|
||||||
2
.github/workflows/release_insignia.yaml
vendored
2
.github/workflows/release_insignia.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_insignia.yaml --input IMAGE_VER=insignia-1.0.0 -s DOCKER_USER=sorawit -s DOCKER_PASS=P@ssword -s SSH_PASSWORD=P@ssw0rd
|
# act workflow_dispatch -W .github/workflows/release_insignia.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
release-dev:
|
release-dev:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
4
.github/workflows/release_leave.yaml
vendored
4
.github/workflows/release_leave.yaml
vendored
|
|
@ -12,10 +12,10 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-leave
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-leave
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_leave.yaml --input IMAGE_VER=leave-1.0.0 -s DOCKER_USER=sorawit -s DOCKER_PASS=P@ssword -s SSH_PASSWORD=P@ssw0rd
|
# act workflow_dispatch -W .github/workflows/release_leave.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
release-dev:
|
release-dev:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
2
.github/workflows/release_placement.yaml
vendored
2
.github/workflows/release_placement.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-placement
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-placement
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_placement.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
# act workflow_dispatch -W .github/workflows/release_placement.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
|
|
|
||||||
2
.github/workflows/release_report.yaml
vendored
2
.github/workflows/release_report.yaml
vendored
|
|
@ -15,7 +15,7 @@ env:
|
||||||
DEPLOY_PORT: 10102
|
DEPLOY_PORT: 10102
|
||||||
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
# COMPOSE_PATH: /home/frappet/docker/bma-ehr
|
||||||
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-report-v2
|
COMPOSE_PATH: /home/frappet/docker/bma/bma-ehr-report-v2
|
||||||
TOKEN_LINE: 2Y0kIem9pgiTcWpp4DSOZn4SHu4tpueWFLN22LsAsp0
|
TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# act workflow_dispatch -W .github/workflows/release_report.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
# act workflow_dispatch -W .github/workflows/release_report.yaml --input IMAGE_VER=latest -s DOCKER_USER=admin -s DOCKER_PASS=FPTadmin2357 -s SSH_PASSWORD=FPTadmin2357
|
||||||
|
|
|
||||||
|
|
@ -217,10 +217,9 @@ namespace BMA.EHR.Application.Repositories.Leaves.LeaveRequests
|
||||||
var rawData = _dbContext.Set<LeaveRequest>().AsNoTracking()
|
var rawData = _dbContext.Set<LeaveRequest>().AsNoTracking()
|
||||||
.Include(x => x.Type)
|
.Include(x => x.Type)
|
||||||
.Where(x => x.LeaveStatus != "DRAFT")
|
.Where(x => x.LeaveStatus != "DRAFT")
|
||||||
|
.OrderByDescending(x => x.CreatedAt.Date)
|
||||||
.AsQueryable();
|
.AsQueryable();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (year != 0)
|
if (year != 0)
|
||||||
rawData = rawData.Where(x => x.LeaveStartDate.Year == year);
|
rawData = rawData.Where(x => x.LeaveStartDate.Year == year);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -814,6 +814,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ปลดออกจากราชการ",
|
unStigma = "คำสั่งลงโทษ ปลดออกจากราชการ",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -907,6 +911,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ไล่ออกจากราชการ",
|
unStigma = "คำสั่งลงโทษ ไล่ออกจากราชการ",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1058,6 +1066,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ พักจากราชการ",
|
unStigma = "คำสั่งลงโทษ พักจากราชการ",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1167,6 +1179,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ให้ออกจากราชการไว้ก่อน",
|
unStigma = "คำสั่งลงโทษ ให้ออกจากราชการไว้ก่อน",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
|
isGovernment = false
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1275,6 +1291,9 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ลงโทษ ภาคทัณฑ์",
|
unStigma = "คำสั่งลงโทษ ลงโทษ ภาคทัณฑ์",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1382,7 +1401,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
refCommandDate = DateTime.Now,
|
refCommandDate = DateTime.Now,
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ตัดเงินเดือน"
|
unStigma = "คำสั่งลงโทษ ตัดเงินเดือน",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1490,7 +1512,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
refCommandDate = DateTime.Now,
|
refCommandDate = DateTime.Now,
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งลงโทษ ลดขั้นเงินเดือน"
|
unStigma = "คำสั่งลงโทษ ลดขั้นเงินเดือน",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1598,7 +1623,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
refCommandDate = DateTime.Now,
|
refCommandDate = DateTime.Now,
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งเพิ่มโทษ"
|
unStigma = "คำสั่งเพิ่มโทษ",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1706,7 +1734,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
refCommandDate = DateTime.Now,
|
refCommandDate = DateTime.Now,
|
||||||
detail = p.DisciplineDisciplinary.Title,
|
detail = p.DisciplineDisciplinary.Title,
|
||||||
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
level = p.DisciplineDisciplinary.DisciplinaryFaultLevel,
|
||||||
unStigma = "คำสั่งงดโทษ"
|
unStigma = "คำสั่งงดโทษ",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
|
|
@ -1830,7 +1861,10 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
||||||
refCommandDate = DateTime.Now,
|
refCommandDate = DateTime.Now,
|
||||||
detail = p.DisciplineInvestigate.Title,
|
detail = p.DisciplineInvestigate.Title,
|
||||||
level = "",
|
level = "",
|
||||||
unStigma = "คำสั่งยุติเรื่อง"
|
unStigma = "คำสั่งยุติเรื่อง",
|
||||||
|
amount = r.amount,
|
||||||
|
positionSalaryAmount = r.positionSalaryAmount,
|
||||||
|
mouthSalaryAmount = r.mouthSalaryAmount,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
var baseAPIOrg = _configuration["API"];
|
var baseAPIOrg = _configuration["API"];
|
||||||
var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-leave-discipline";
|
var apiUrlOrg = $"{baseAPIOrg}/org/command/excexute/salary-leave-discipline";
|
||||||
|
|
|
||||||
|
|
@ -1462,7 +1462,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
||||||
{
|
{
|
||||||
refId = id,
|
refId = id,
|
||||||
sysName = "SYS_LEAVE_LIST",
|
sysName = "LEAVE_LIST",
|
||||||
posLevelName = profile.PosLevel?.PosLevelName ?? "",
|
posLevelName = profile.PosLevel?.PosLevelName ?? "",
|
||||||
posTypeName = profile.PosType?.PosTypeName ?? "",
|
posTypeName = profile.PosType?.PosTypeName ?? "",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -605,7 +605,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
var _res = await client.PostAsJsonAsync(apiUrlOrg, new
|
||||||
{
|
{
|
||||||
refId = placementTransfer.Id,
|
refId = placementTransfer.Id,
|
||||||
sysName = "SYS_TRANSFER_REQ",
|
sysName = "PLACEMENT_TRANSFER",
|
||||||
posLevelName = placementTransfer.posLevelNameOld,
|
posLevelName = placementTransfer.posLevelNameOld,
|
||||||
posTypeName = placementTransfer.posTypeNameOld,
|
posTypeName = placementTransfer.posTypeNameOld,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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"];
|
||||||
|
|
|
||||||
|
|
@ -526,7 +526,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
var _res = await client.PostAsJsonAsync($"{_configuration["API"]}/org/workflow/add-workflow", new
|
var _res = await client.PostAsJsonAsync($"{_configuration["API"]}/org/workflow/add-workflow", new
|
||||||
{
|
{
|
||||||
refId = retirementResign.Id,
|
refId = retirementResign.Id,
|
||||||
sysName = "SYS_RESIGN",
|
sysName = "RETIREMENT_RESIFNATION",
|
||||||
posLevelName = retirementResign.PositionLevelOld,
|
posLevelName = retirementResign.PositionLevelOld,
|
||||||
posTypeName = retirementResign.PositionTypeOld,
|
posTypeName = retirementResign.PositionTypeOld,
|
||||||
});
|
});
|
||||||
|
|
@ -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