แก้คำสั่งพ้น
This commit is contained in:
parent
bd7fe04395
commit
ee72e497e2
11 changed files with 18060 additions and 64 deletions
|
|
@ -4565,11 +4565,11 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
.OrderBy(x => x.Sequence)
|
||||
.Select(r => new CommandReceiverResponse
|
||||
{
|
||||
RefRecordId = r.RefPlacementProfileId == null? Guid.Parse("00000000-0000-0000-0000-000000000000") : r.RefPlacementProfileId.Value,
|
||||
RefRecordId = r.RefPlacementProfileId == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : r.RefPlacementProfileId.Value,
|
||||
PersonalId = r.Id,
|
||||
Sequence = r.Sequence,
|
||||
IdCard = r.CitizenId,
|
||||
Name = $"{r.Prefix!}{r.FirstName!} {r.LastName!}",
|
||||
Name = $"{r.FirstName!} {r.LastName!}",
|
||||
SelectStatus = r.RefPlacementProfileId == null ? false : (existed.FirstOrDefault(x => x.RefPlacementProfileId!.Value == r.RefPlacementProfileId!.Value) != null),
|
||||
Education = "" // ยังหาไม่เจอว่าอยุ่ field ไหน
|
||||
}).ToList();
|
||||
|
|
@ -4846,14 +4846,13 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
var deploys = new List<CommandDeployment>();
|
||||
foreach (var p in req)
|
||||
{
|
||||
var prefix = await _prefixRepository.GetByIdAsync(p.PrefixId);
|
||||
deploys.Add(new CommandDeployment
|
||||
{
|
||||
CitizenId = p.IdCard,
|
||||
Prefix = prefix.Name,
|
||||
CitizenId = p.CitizenId,
|
||||
Prefix = p.Prefix,
|
||||
FirstName = p.FirstName,
|
||||
LastName = p.LastName,
|
||||
OrganizationName = p.Unit,
|
||||
OrganizationName = p.OrganizationName,
|
||||
PositionName = p.Position
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue