From 8d75174fbaa453bb537c62a151709991b5a52b7f Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 17 Jul 2025 14:54:07 +0700 Subject: [PATCH] order --- src/controllers/ProfileSalaryTempController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileSalaryTempController.ts b/src/controllers/ProfileSalaryTempController.ts index 9c21a1d1..c853524c 100644 --- a/src/controllers/ProfileSalaryTempController.ts +++ b/src/controllers/ProfileSalaryTempController.ts @@ -1130,7 +1130,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileRepo.findOneBy({ id: body.profileId }); // if (!profile) { @@ -1148,7 +1148,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileEmployeeRepo.findOneBy({ id: body.profileId }); // if (!profile) {