fix
This commit is contained in:
parent
24ce6c81c1
commit
df2612adf3
2 changed files with 5 additions and 3 deletions
|
|
@ -1107,13 +1107,16 @@ export class ProfileSalaryTempController extends Controller {
|
|||
profileEmployee.statusCheckEdit = "PENDING";
|
||||
await this.profileEmployeeRepo.save(profileEmployee);
|
||||
}
|
||||
|
||||
const history = Object.assign(new PositionSalaryEditHistory());
|
||||
|
||||
const history : PositionSalaryEditHistory = Object.assign(new PositionSalaryEditHistory(), body);
|
||||
if (profile) {
|
||||
history.profileId = profileId;
|
||||
} else if (profileEmployee) {
|
||||
history.profileEmployeeId = profileId;
|
||||
}
|
||||
history.examinerName = req.user.name;
|
||||
history.createdFullName = req.user.name;
|
||||
history.lastUpdateFullName = req.user.name;
|
||||
await this.positionSalaryEditHistoryRepo.save(history);
|
||||
|
||||
return new HttpSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue