ปรับเหตุผลคำสั่งลาออก,โอนออก issue #1572
This commit is contained in:
parent
afb2cfa189
commit
b528f0a81d
3 changed files with 10 additions and 3 deletions
|
|
@ -881,7 +881,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
positionType = p.PositionTypeOld,
|
positionType = p.PositionTypeOld,
|
||||||
positionLevel = p.PositionLevelOld,
|
positionLevel = p.PositionLevelOld,
|
||||||
commandId = r.commandId,
|
commandId = r.commandId,
|
||||||
leaveReason = "โอนออก",
|
//leaveReason = "โอนออก",
|
||||||
|
leaveReason = string.IsNullOrWhiteSpace(p.Reason) ? "โอนออก" : p.Reason,
|
||||||
dateLeave = r.commandDateAffect,
|
dateLeave = r.commandDateAffect,
|
||||||
isLeave = true,
|
isLeave = true,
|
||||||
orgRoot = p.rootOld,
|
orgRoot = p.rootOld,
|
||||||
|
|
|
||||||
|
|
@ -2630,7 +2630,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
positionType = p.PositionTypeOld,
|
positionType = p.PositionTypeOld,
|
||||||
positionLevel = p.PositionLevelOld,
|
positionLevel = p.PositionLevelOld,
|
||||||
isLeave = p.IsCancel == true ? false : true,
|
isLeave = p.IsCancel == true ? false : true,
|
||||||
leaveReason = "ออกจากราชการ",
|
//leaveReason = "ออกจากราชการ",
|
||||||
|
leaveReason = p.ReasonResign == "อื่น ๆ"
|
||||||
|
? string.IsNullOrWhiteSpace(p.Remark) ? p.ReasonResign : $"{p.ReasonResign}({p.Remark})"
|
||||||
|
: p.ReasonResign,
|
||||||
dateLeave = r.commandDateAffect,
|
dateLeave = r.commandDateAffect,
|
||||||
commandId = r.commandId,
|
commandId = r.commandId,
|
||||||
isGovernment = false,
|
isGovernment = false,
|
||||||
|
|
|
||||||
|
|
@ -2111,7 +2111,10 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
||||||
positionType = p.PositionTypeOld,
|
positionType = p.PositionTypeOld,
|
||||||
positionLevel = p.PositionLevelOld,
|
positionLevel = p.PositionLevelOld,
|
||||||
isLeave = p.IsCancel == true ? false : true,
|
isLeave = p.IsCancel == true ? false : true,
|
||||||
leaveReason = "ออกจากราชการ",
|
//leaveReason = "ออกจากราชการ",
|
||||||
|
leaveReason = p.ReasonResign == "อื่น ๆ"
|
||||||
|
? string.IsNullOrWhiteSpace(p.Remark) ? p.ReasonResign : $"{p.ReasonResign}({p.Remark})"
|
||||||
|
: p.ReasonResign,
|
||||||
dateLeave = r.commandDateAffect,
|
dateLeave = r.commandDateAffect,
|
||||||
commandId = r.commandId,
|
commandId = r.commandId,
|
||||||
isGovernment = false,
|
isGovernment = false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue