fix: refs #7569 saveSign use lastState
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
3f0f155113
commit
1575c509d1
|
@ -172,10 +172,10 @@ module.exports = Self => {
|
||||||
JOIN state s ON s.id = tt.stateFk
|
JOIN state s ON s.id = tt.stateFk
|
||||||
WHERE t.routeFk = ?
|
WHERE t.routeFk = ?
|
||||||
AND s.\`order\` < ?
|
AND s.\`order\` < ?
|
||||||
AND priority <(SELECT t.priority
|
AND priority < (SELECT priority
|
||||||
FROM ticket t
|
FROM ticket
|
||||||
WHERE t.id = ?)`
|
WHERE id = ?)
|
||||||
, [ticket.routeFk, orderState.order, ticket.id], myOptions);
|
`, [ticket.routeFk, orderState.order, ticket.id], myOptions);
|
||||||
|
|
||||||
if (ticketIncorrect?.length > 0)
|
if (ticketIncorrect?.length > 0)
|
||||||
await sendMail(ticket.routeFk, ticket.id, ticket.zone().name);
|
await sendMail(ticket.routeFk, ticket.id, ticket.zone().name);
|
||||||
|
|
Loading…
Reference in New Issue