add field amountSpecial
This commit is contained in:
parent
27409a892f
commit
a2d5cec4fe
3 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ export class ProfileSalaryController extends Controller {
|
|||
|
||||
let null_:any = null;
|
||||
profile.amount = body.amount ?? null_;
|
||||
profile.amountSpecial = body.amountSpecial ?? null_;
|
||||
profile.positionSalaryAmount = body.positionSalaryAmount ?? null_;
|
||||
profile.mouthSalaryAmount = body.mouthSalaryAmount ?? null_;
|
||||
await this.profileRepo.save(profile);
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ export class ProfileSalaryEmployeeController extends Controller {
|
|||
|
||||
let null_:any = null;
|
||||
profile.amount = body.amount ?? null_;
|
||||
profile.amountSpecial = body.amountSpecial ?? null_;
|
||||
profile.positionSalaryAmount = body.positionSalaryAmount ?? null_;
|
||||
profile.mouthSalaryAmount = body.mouthSalaryAmount ?? null_;
|
||||
await this.profileRepo.save(profile);
|
||||
|
|
|
|||
|
|
@ -213,6 +213,7 @@ export class CreateProfileSalaryEmployee {
|
|||
profileEmployeeId: string | null;
|
||||
date?: Date | null;
|
||||
amount?: Double | null;
|
||||
amountSpecial?: Double | null;
|
||||
commandId?: string | null;
|
||||
positionSalaryAmount?: Double | null;
|
||||
mouthSalaryAmount?: Double | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue