This commit is contained in:
Bright 2025-07-17 14:54:07 +07:00
parent 9ea012f4d2
commit 8d75174fba

View file

@ -1130,7 +1130,7 @@ export class ProfileSalaryTempController extends Controller {
order: { order: "DESC" }, order: { order: "DESC" },
}); });
if (salary) { if (salary) {
dest_item = salary.order; dest_item = salary.order+1;
} }
// const profile = await this.profileRepo.findOneBy({ id: body.profileId }); // const profile = await this.profileRepo.findOneBy({ id: body.profileId });
// if (!profile) { // if (!profile) {
@ -1148,7 +1148,7 @@ export class ProfileSalaryTempController extends Controller {
order: { order: "DESC" }, order: { order: "DESC" },
}); });
if (salary) { if (salary) {
dest_item = salary.order; dest_item = salary.order+1;
} }
// const profile = await this.profileEmployeeRepo.findOneBy({ id: body.profileId }); // const profile = await this.profileEmployeeRepo.findOneBy({ id: body.profileId });
// if (!profile) { // if (!profile) {