comment clear ตำแหน่งติดเงื่อนไข
This commit is contained in:
parent
45922287ea
commit
e083cd4bce
3 changed files with 35 additions and 35 deletions
|
|
@ -571,11 +571,11 @@ async function handler_org(msg: amqp.ConsumeMessage): Promise<boolean> {
|
|||
}
|
||||
}
|
||||
item.current_holderId = item.next_holderId;
|
||||
item.conditionReason = _null;
|
||||
if (item.current_holderId) {
|
||||
item.conditionReason = _null;
|
||||
item.isCondition = false;
|
||||
}
|
||||
// item.conditionReason = _null;
|
||||
// if (item.current_holderId) {
|
||||
// item.conditionReason = _null;
|
||||
// item.isCondition = false;
|
||||
// }
|
||||
item.next_holderId = null;
|
||||
item.lastUpdateUserId = lastUpdateUserId;
|
||||
item.lastUpdateFullName = lastUpdateFullName;
|
||||
|
|
@ -1760,10 +1760,10 @@ 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;
|
||||
}
|
||||
// if (posMaster.next_holderId) {
|
||||
// posMaster.conditionReason = _null;
|
||||
// posMaster.isCondition = false;
|
||||
// }
|
||||
} else {
|
||||
posMaster.next_holderId = null;
|
||||
posMaster.isSit = false;
|
||||
|
|
@ -1856,10 +1856,10 @@ 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;
|
||||
}
|
||||
// if (posMaster.next_holderId) {
|
||||
// posMaster.conditionReason = _null;
|
||||
// posMaster.isCondition = false;
|
||||
// }
|
||||
} else {
|
||||
posMaster.next_holderId = null;
|
||||
posMaster.isSit = false;
|
||||
|
|
@ -1954,10 +1954,10 @@ 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;
|
||||
}
|
||||
// if (posMaster.next_holderId) {
|
||||
// posMaster.conditionReason = _null;
|
||||
// posMaster.isCondition = false;
|
||||
// }
|
||||
} else {
|
||||
posMaster.next_holderId = null;
|
||||
posMaster.isSit = false;
|
||||
|
|
@ -2054,10 +2054,10 @@ 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;
|
||||
}
|
||||
// if (posMaster.next_holderId) {
|
||||
// posMaster.conditionReason = _null;
|
||||
// posMaster.isCondition = false;
|
||||
// }
|
||||
} else {
|
||||
posMaster.next_holderId = null;
|
||||
posMaster.isSit = false;
|
||||
|
|
@ -2157,10 +2157,10 @@ 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;
|
||||
}
|
||||
// if (posMaster.next_holderId) {
|
||||
// posMaster.conditionReason = _null;
|
||||
// posMaster.isCondition = false;
|
||||
// }
|
||||
} else {
|
||||
posMaster.next_holderId = null;
|
||||
posMaster.isSit = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue