เพิ่มฟิลด์ posNo

This commit is contained in:
Bright 2024-12-25 16:00:33 +07:00
parent 6dc7f9bd7e
commit 2d6cf2524b
2 changed files with 9 additions and 0 deletions

View file

@ -4810,6 +4810,9 @@ export class ProfileController extends Controller {
nodeId: null,
type: profile.employeeClass,
salary: profile.amount,
posNo : root?.orgRootShortName && posMaster?.posMasterNo
? `${root?.orgRootShortName}${posMaster?.posMasterNo}`
: ""
};
if (_profile.child4Id != null) {
_profile.node = 4;
@ -4951,6 +4954,9 @@ export class ProfileController extends Controller {
nodeId: null,
salary: profile ? profile.amount : null,
amountSpecial: profile ? profile.amountSpecial : null,
posNo : root?.orgRootShortName && posMaster?.posMasterNo
? `${root?.orgRootShortName}${posMaster?.posMasterNo}`
: ""
};
if (_profile.child4Id != null) {

View file

@ -2153,6 +2153,9 @@ export class ProfileEmployeeController extends Controller {
nodeId: null,
salary: profile ? profile.amount : null,
amountSpecial: profile ? profile.amountSpecial : null,
posNo : root?.orgRootShortName && posMaster?.posMasterNo
? `${root?.orgRootShortName}${posMaster?.posMasterNo}`
: ""
};
return new HttpSuccess(_profile);
}