From 765082ab10e03418c0a9cd15980baf79201de940 Mon Sep 17 00:00:00 2001 From: Bright Date: Mon, 15 Jul 2024 14:03:28 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B8=82=E0=B8=B1=E0=B9=89=E0=B8=99=E0=B8=84=E0=B9=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ReportController.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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, })