diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index c3d8ace..0e16434 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -6424,19 +6424,19 @@ export class ReportController extends Controller { }); if (salary != null) { await new CallAPI() - .PostData(request, "/org/profile/salary", { - profileId: salary.profileId, + .PostData(request, "/org/profile-employee/salary", { + profileEmployeeId: salary.profileId, date: new Date(), amount: salary.positionSalaryAmount, positionSalaryAmount: salary.amountSpecial, mouthSalaryAmount: null, posNo: salary.orgShortName + salary.posMasterNo, position: salary.position, - positionLine: null, - positionPathSide: null, - positionExecutive: null, + // positionLine: null, + // positionPathSide: null, + // positionExecutive: null, positionType: salary.posType, - positionLevel: salary.posLevel, + positionLevel: salary.posLevel ? String(salary.posLevel) : null, refCommandNo: v.refCommandNo, templateDoc: v.templateDoc, })