edit name null_
This commit is contained in:
parent
fb96c44753
commit
ed111475f8
6 changed files with 171 additions and 135 deletions
|
|
@ -250,11 +250,11 @@ export class ProfileSalaryEmployeeController extends Controller {
|
|||
history.profileSalaryId = data.id;
|
||||
await this.salaryHistoryRepo.save(history, { data: req });
|
||||
|
||||
let null_: any = null;
|
||||
profile.amount = body.amount ?? null_;
|
||||
profile.amountSpecial = body.amountSpecial ?? null_;
|
||||
profile.positionSalaryAmount = body.positionSalaryAmount ?? null_;
|
||||
profile.mouthSalaryAmount = body.mouthSalaryAmount ?? null_;
|
||||
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);
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue