no message
This commit is contained in:
parent
c92a0516c7
commit
7c8b5d70ed
1 changed files with 2 additions and 2 deletions
|
|
@ -2232,8 +2232,8 @@ export class CommandController extends Controller {
|
||||||
Object.assign(profileSal, { ...item.bodySalarys, ...meta });
|
Object.assign(profileSal, { ...item.bodySalarys, ...meta });
|
||||||
const salaryHistory = new ProfileSalaryHistory();
|
const salaryHistory = new ProfileSalaryHistory();
|
||||||
Object.assign(salaryHistory, { ...profileSal, id: undefined });
|
Object.assign(salaryHistory, { ...profileSal, id: undefined });
|
||||||
(profileSal.order = dest_item == null ? 1 : dest_item.order + 1),
|
profileSal.order = dest_item == null ? 1 : dest_item.order + 1
|
||||||
(profileSal.profileId = profile.id);
|
profileSal.profileId = profile.id;
|
||||||
await this.salaryRepo.save(profileSal, { data: req });
|
await this.salaryRepo.save(profileSal, { data: req });
|
||||||
setLogDataDiff(req, { before, after: profileSal });
|
setLogDataDiff(req, { before, after: profileSal });
|
||||||
salaryHistory.profileSalaryId = profileSal.id;
|
salaryHistory.profileSalaryId = profileSal.id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue