no message

This commit is contained in:
Bright 2024-10-10 13:48:20 +07:00
parent c92a0516c7
commit 7c8b5d70ed

View file

@ -2232,8 +2232,8 @@ export class CommandController extends Controller {
Object.assign(profileSal, { ...item.bodySalarys, ...meta });
const salaryHistory = new ProfileSalaryHistory();
Object.assign(salaryHistory, { ...profileSal, id: undefined });
(profileSal.order = dest_item == null ? 1 : dest_item.order + 1),
(profileSal.profileId = profile.id);
profileSal.order = dest_item == null ? 1 : dest_item.order + 1
profileSal.profileId = profile.id;
await this.salaryRepo.save(profileSal, { data: req });
setLogDataDiff(req, { before, after: profileSal });
salaryHistory.profileSalaryId = profileSal.id;