ปรับเหตุผลคำสั่งลาออก,โอนออก issue #1572

This commit is contained in:
Bright 2025-06-11 12:05:46 +07:00
parent afb2cfa189
commit b528f0a81d
3 changed files with 10 additions and 3 deletions

View file

@ -881,7 +881,8 @@ namespace BMA.EHR.Placement.Service.Controllers
positionType = p.PositionTypeOld,
positionLevel = p.PositionLevelOld,
commandId = r.commandId,
leaveReason = "โอนออก",
//leaveReason = "โอนออก",
leaveReason = string.IsNullOrWhiteSpace(p.Reason) ? "โอนออก" : p.Reason,
dateLeave = r.commandDateAffect,
isLeave = true,
orgRoot = p.rootOld,