Merge pull request 'fix: ticket_setProblemTooLittleItemCost ticket_setRisk refs#7213' (!2745) from fix-ticket_setRisk-ticket_setProblemTooLittleItemCost into test
Reviewed-on: #2745 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
3e76fa4258
|
@ -21,7 +21,7 @@ BEGIN
|
|||
GROUP BY t.id
|
||||
)SELECT ticketFk,
|
||||
ticket_isTooLittle(ticketFk) hasProblem,
|
||||
ticket_isProblemCalcNeeded(t.id) isProblemCalcNeeded
|
||||
ticket_isProblemCalcNeeded(ticketFk) isProblemCalcNeeded
|
||||
FROM tickets;
|
||||
|
||||
CALL ticket_setProblem('isTooLittle');
|
||||
|
|
|
@ -72,7 +72,7 @@ BEGIN
|
|||
LEFT JOIN receipt r ON r.dated > ui.dated AND r.companyFk = ui.companyFk
|
||||
GROUP BY b.companyFk, ui.dated
|
||||
)
|
||||
SELECT ti.ticketFk, r.amount
|
||||
SELECT ti.ticketFk, r.amount, ti.isProblemCalcNeeded
|
||||
FROM ticket ti
|
||||
JOIN risk r ON r.dated = ti.dated AND r.companyFk = ti.companyFk;
|
||||
|
||||
|
|
Loading…
Reference in New Issue