From f6341eb399c92811b4d0de772d442cf33c8f7b69 Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 8 Aug 2024 13:32:25 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=AA=E0=B8=A5?= =?UTF-8?q?=E0=B8=B0=E0=B8=AA=E0=B8=B4=E0=B8=97=E0=B8=98=E0=B8=B4=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/PlacementController.cs | 31 ++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index 5509b4a8..b5182d69 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -672,12 +672,41 @@ namespace BMA.EHR.Placement.Service.Controllers person.MouthSalaryAmount = null; person.PositionSalaryAmount = null; person.RecruitDate = null; - person.ReportingDate = null; + person.ReportingDate = null person.RejectReason = req.Note; person.PlacementStatus = "DISCLAIM"; person.LastUpdateFullName = FullName ?? "System Administrator"; person.LastUpdateUserId = UserId ?? ""; person.LastUpdatedAt = DateTime.Now; + person.root = null; + person.rootId = null; + person.rootShortName = null; + person.child1 = null; + person.child1Id = null; + person.child1ShortName = null; + person.child2 = null; + person.child2Id = null; + person.child2ShortName = null; + person.child3 = null; + person.child3Id = null; + person.child3ShortName = null; + person.child4 = null; + person.child4Id = null; + person.child4ShortName = null; + person.orgRevisionId = null; + person.posMasterNo = null; + person.positionName = null; + person.positionField = null; + person.posTypeId = null; + person.posTypeName = null; + person.posLevelId = null; + person.posLevelName = null; + person.node = null; + person.nodeId = null; + person.posmasterId = null; + person.positionId = null; + person.Draft = false; + person.typeCommand = null; await _context.SaveChangesAsync(); return Success();