This commit is contained in:
AdisakKanthawilang 2025-07-15 13:08:07 +07:00
parent 7490c446da
commit e631345b11
3 changed files with 11 additions and 0 deletions

View file

@ -462,6 +462,7 @@ async function handler_org(msg: amqp.ConsumeMessage): Promise<boolean> {
item.conditionReason = _null;
if (item.current_holderId) {
item.conditionReason = _null;
item.isCondition = false;
}
item.next_holderId = null;
item.lastUpdateUserId = lastUpdateUserId;
@ -1615,6 +1616,7 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
posMaster.next_holderId = item.current_holderId;
if (posMaster.next_holderId) {
posMaster.conditionReason = _null;
posMaster.isCondition = false;
}
} else {
posMaster.next_holderId = null;
@ -1710,6 +1712,7 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
posMaster.next_holderId = item.current_holderId;
if (posMaster.next_holderId) {
posMaster.conditionReason = _null;
posMaster.isCondition = false;
}
} else {
posMaster.next_holderId = null;
@ -1807,6 +1810,7 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
posMaster.next_holderId = item.current_holderId;
if (posMaster.next_holderId) {
posMaster.conditionReason = _null;
posMaster.isCondition = false;
}
} else {
posMaster.next_holderId = null;
@ -1906,6 +1910,7 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
posMaster.next_holderId = item.current_holderId;
if (posMaster.next_holderId) {
posMaster.conditionReason = _null;
posMaster.isCondition = false;
}
} else {
posMaster.next_holderId = null;
@ -2008,6 +2013,7 @@ async function handler_org_draft(msg: amqp.ConsumeMessage): Promise<boolean> {
posMaster.next_holderId = item.current_holderId;
if (posMaster.next_holderId) {
posMaster.conditionReason = _null;
posMaster.isCondition = false;
}
} else {
posMaster.next_holderId = null;