fix ส่งรายชื่อบรรจุ คำนำหน้าไม่แสดง #2506
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m4s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m4s
This commit is contained in:
parent
5dafd13124
commit
ddf0309b0b
1 changed files with 6 additions and 6 deletions
|
|
@ -6594,8 +6594,8 @@ export class CommandController extends Controller {
|
|||
profile.amountSpecial = item.bodyProfile.amountSpecial ?? null;
|
||||
profile.isProbation = item.bodyProfile.isProbation;
|
||||
//เพิ่มใหม่จากรับโอน
|
||||
profile.rank = item?.bodyProfile?.rank ?? null;
|
||||
profile.prefix = item?.bodyProfile?.rank ?? item?.bodyProfile?.prefix ?? null;
|
||||
profile.rank = item?.bodyProfile?.rank || null;
|
||||
profile.prefix = item?.bodyProfile?.rank || item?.bodyProfile?.prefix || null;
|
||||
profile.prefixMain = item?.bodyProfile?.prefix ?? null;
|
||||
profile.firstName = item.bodyProfile.firstName ?? null;
|
||||
profile.lastName = item.bodyProfile.lastName ?? null;
|
||||
|
|
@ -6658,8 +6658,8 @@ export class CommandController extends Controller {
|
|||
profile.amount = item.bodyProfile.amount ?? null;
|
||||
profile.amountSpecial = item.bodyProfile.amountSpecial ?? null;
|
||||
profile.isProbation = item.bodyProfile.isProbation;
|
||||
profile.rank = item?.bodyProfile?.rank ?? null;
|
||||
profile.prefix = item?.bodyProfile?.rank ?? item?.bodyProfile?.prefix ?? null;
|
||||
profile.rank = item?.bodyProfile?.rank || null;
|
||||
profile.prefix = item?.bodyProfile?.rank || item?.bodyProfile?.prefix || null;
|
||||
profile.prefixMain = item?.bodyProfile?.prefix ?? null;
|
||||
profile.firstName = item.bodyProfile.firstName ?? null;
|
||||
profile.lastName = item.bodyProfile.lastName ?? null;
|
||||
|
|
@ -6717,8 +6717,8 @@ export class CommandController extends Controller {
|
|||
profile.lastUpdateFullName = req.user.name;
|
||||
profile.lastUpdatedAt = new Date();
|
||||
//เพิ่มใหม่จากรับโอน
|
||||
profile.rank = item?.bodyProfile?.rank ?? null;
|
||||
profile.prefix = item?.bodyProfile?.rank ?? item?.bodyProfile?.prefix ?? null;
|
||||
profile.rank = item?.bodyProfile?.rank || null;
|
||||
profile.prefix = item?.bodyProfile?.rank || item?.bodyProfile?.prefix || null;
|
||||
profile.prefixMain = item?.bodyProfile?.prefix ?? null;
|
||||
profile.firstName =
|
||||
item.bodyProfile.firstName && item.bodyProfile.firstName != ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue