update เมื่อลบคนครองต้องไม่ปั้มชื่อลงประวัติคนครอง
This commit is contained in:
parent
332a96efb3
commit
8888d2f27c
2 changed files with 9 additions and 4 deletions
|
|
@ -3696,7 +3696,7 @@ export class PositionController extends Controller {
|
|||
}
|
||||
|
||||
if (dataMaster.orgRevision.orgRevisionIsCurrent) {
|
||||
await CreatePosMasterHistoryOfficer(dataMaster.id, request);
|
||||
await CreatePosMasterHistoryOfficer(dataMaster.id, request, "DELETE");
|
||||
}
|
||||
|
||||
let _profileId: string = "";
|
||||
|
|
@ -3715,6 +3715,8 @@ export class PositionController extends Controller {
|
|||
positionIsSelected: false,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// //เช็คถ้า revision ปัจจุบันให้ปั๊มที่ profile
|
||||
// const chkRevision = await this.orgRevisionRepository.findOne({
|
||||
// where: { id: dataMaster.orgRevisionId },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue