From 02402542b2a2da14a5ea8129cd1fd279c7b094ef Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 8 Aug 2024 16:30:25 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20format=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/Commands/CommandRepository.cs | 6 +++--- .../Controllers/PlacementController.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index dc62a64e..efd045fc 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -1589,7 +1589,7 @@ namespace BMA.EHR.Application.Repositories.Commands var resultData = new List(); var baseAPI = _configuration["API"]; - var apiUrl = $"{baseAPI}/org/profile-employee/report"; + var apiUrl = $"{baseAPI}/org/profile-employee/report-temp"; var response = new PassSalaryResponse(); using (var client = new HttpClient()) @@ -1609,8 +1609,8 @@ namespace BMA.EHR.Application.Repositories.Commands Sequence = seq, CitizenId = d.citizenId, Prefix = d.prefix == null ? "" : d.prefix, - FirstName = d.firstName, - LastName = d.lastName, + FirstName = d.firstName == null ? "" : d.firstName, + LastName = d.lastName == null ? "" : d.lastName, RefPlacementProfileId = d.id, RefDisciplineId = d.id, Organization = d.organization, diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index b5182d69..52378395 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -672,7 +672,7 @@ 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";