fix คำสั่งเลื่อนข้าราชการสถานะไม่เปลี่ยน

This commit is contained in:
Bright 2024-10-24 11:58:29 +07:00
parent 71a9da67e8
commit a7aea86f97

View file

@ -1559,6 +1559,7 @@ export class CommandController extends Controller {
await this.salaryRepo.save(data, { data: req });
setLogDataDiff(req, { before, after: data });
history.commandId = item.commandId ?? _null;
history.profileSalaryId = data.id;
await this.salaryHistoryRepo.save(history, { data: req });
const posMaster = await this.posMasterRepository.findOne({