fix
This commit is contained in:
parent
a499a4a15b
commit
7957ecab1b
2 changed files with 3 additions and 2 deletions
|
|
@ -2154,7 +2154,7 @@ export class SalaryPeriodController extends Controller {
|
|||
}
|
||||
}
|
||||
let revisionId = await new CallAPI().GetData(request, "/org/unauthorize/revision/latest");
|
||||
|
||||
let _null:any = null;
|
||||
const beforeSalaryPeriod = structuredClone(salaryPeriod);
|
||||
salaryPeriod.revisionId = revisionId;
|
||||
salaryPeriod.lastUpdateUserId = request.user.sub;
|
||||
|
|
@ -2172,7 +2172,7 @@ export class SalaryPeriodController extends Controller {
|
|||
salaryOrgNew.salaryPeriodId = salaryPeriod.id;
|
||||
salaryOrgNew.status = "PENDING";
|
||||
salaryOrgNew.rootId = root.rootId;
|
||||
salaryOrgNew.rootDnaId = root.rootDnaId;
|
||||
salaryOrgNew.rootDnaId = root.rootDnaId??_null;
|
||||
salaryOrgNew.root = root.root;
|
||||
salaryOrgNew.revisionId = salaryPeriod.revisionId;
|
||||
salaryOrgNew.snapshot = snapshot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue