fix ยศไม่แสดงในระบบทะเบียนประวัติหลังออกคำสั่งรับโอนเสร็จสิ้น #2469
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m9s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m9s
This commit is contained in:
parent
7985125882
commit
173378d87c
1 changed files with 3 additions and 0 deletions
|
|
@ -6594,6 +6594,7 @@ 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.prefix ?? null;
|
||||
profile.prefixMain = item.bodyProfile.prefix ?? null;
|
||||
profile.firstName = item.bodyProfile.firstName ?? null;
|
||||
|
|
@ -6657,6 +6658,7 @@ 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.prefix ?? null;
|
||||
profile.prefixMain = item.bodyProfile.prefix ?? null;
|
||||
profile.firstName = item.bodyProfile.firstName ?? null;
|
||||
|
|
@ -6715,6 +6717,7 @@ export class CommandController extends Controller {
|
|||
profile.lastUpdateFullName = req.user.name;
|
||||
profile.lastUpdatedAt = new Date();
|
||||
//เพิ่มใหม่จากรับโอน
|
||||
profile.rank = item.bodyProfile.rank ?? null;
|
||||
profile.prefix =
|
||||
item.bodyProfile.prefix && item.bodyProfile.prefix != ""
|
||||
? item.bodyProfile.prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue