no message

This commit is contained in:
Kittapath 2024-07-18 19:21:23 +07:00
parent b481af7ef5
commit 7015f4ff2a
2 changed files with 89 additions and 0 deletions

View file

@ -337,6 +337,35 @@ namespace BMA.EHR.Recruit.Service.Services
LastUpdateFullName = FullName ?? "",
IsOfficer = IsOfficer,
profileId = org == null || org.result == null ? null : org.result.profileId,
IsOld = org == null || org.result == null ? false : true,
AmountOld = org == null || org.result == null ? null : org.result.AmountOld,
nodeOld = org == null || org.result == null ? null : org.result.node,
nodeIdOld = org == null || org.result == null ? null : org.result.nodeId,
posmasterIdOld = org == null || org.result == null ? null : org.result.posmasterId,
rootOld = org == null || org.result == null ? null : org.result.root,
rootIdOld = org == null || org.result == null ? null : org.result.rootId,
rootShortNameOld = org == null || org.result == null ? null : org.result.rootShortName,
child1Old = org == null || org.result == null ? null : org.result.child1,
child1IdOld = org == null || org.result == null ? null : org.result.child1Id,
child1ShortNameOld = org == null || org.result == null ? null : org.result.child1ShortName,
child2Old = org == null || org.result == null ? null : org.result.child2,
child2IdOld = org == null || org.result == null ? null : org.result.child2Id,
child2ShortNameOld = org == null || org.result == null ? null : org.result.child2ShortName,
child3Old = org == null || org.result == null ? null : org.result.child3,
child3IdOld = org == null || org.result == null ? null : org.result.child3Id,
child3ShortNameOld = org == null || org.result == null ? null : org.result.child3ShortName,
child4Old = org == null || org.result == null ? null : org.result.child4,
child4IdOld = org == null || org.result == null ? null : org.result.child4Id,
child4ShortNameOld = org == null || org.result == null ? null : org.result.child4ShortName,
orgRevisionIdOld = org == null || org.result == null ? null : org.result.orgRevisionId,
// positionIdOld = org == null || org.result == null ? null : org.result.positionIdOld,
posMasterNoOld = org == null || org.result == null ? null : org.result.posMasterNo,
positionNameOld = org == null || org.result == null ? null : org.result.position,
// positionFieldOld = org == null || org.result == null ? null : org.result.positionFieldOld,
posTypeIdOld = org == null || org.result == null ? null : org.result.posTypeId,
posTypeNameOld = org == null || org.result == null ? null : org.result.posTypeName,
posLevelIdOld = org == null || org.result == null ? null : org.result.posLevelId,
posLevelNameOld = org == null || org.result == null ? null : org.result.posLevelName,
};
await _contextMetadata.PlacementProfiles.AddAsync(placementProfile);