7965-unifyProblems #2990
|
@ -283,6 +283,7 @@ proc: BEGIN
|
|||
|
||||
DROP TEMPORARY TABLE
|
||||
tmp.productionTicket,
|
||||
tmp.ticket,
|
||||
tmp.ticketProblems,
|
||||
tmp.saleProblems,
|
||||
tmp.ticketWithPrevia,
|
||||
|
|
|
@ -163,6 +163,6 @@ BEGIN
|
|||
END LOOP;
|
||||
CLOSE vCursor;
|
||||
|
||||
DROP TEMPORARY TABLE tItemShelving, tmp.sale;
|
||||
DROP TEMPORARY TABLE tItemShelving;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
|
@ -18,6 +18,8 @@ BEGIN
|
|||
|
||||
SELECT * FROM tmp.saleProblems;
|
||||
|
||||
DROP TEMPORARY TABLE tmp.saleProblems;
|
||||
DROP TEMPORARY TABLE
|
||||
tmp.saleProblems,
|
||||
tmp.sale;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
|
@ -105,5 +105,7 @@ BEGIN
|
|||
SET totalProblems = isFreezed + hasHighRisk + hasTicketRequest +
|
||||
isTaxDataChecked + hasComponentLack + hasItemDelay +
|
||||
isTooLittle + hasItemLost + hasRounding + hasItemShortage + isVip;
|
||||
|
||||
DROP TEMPORARY TABLE tmp.sale;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
|
@ -375,6 +375,7 @@ module.exports = Self => {
|
|||
|
||||
stmts.push(`
|
||||
DROP TEMPORARY TABLE
|
||||
tmp.ticket,
|
||||
tmp.filter,
|
||||
tmp.ticketProblems,
|
||||
tmp.sale_getWarnings,
|
||||
|
|
|
@ -369,6 +369,7 @@ module.exports = Self => {
|
|||
|
||||
stmts.push(
|
||||
`DROP TEMPORARY TABLE
|
||||
tmp.ticket,
|
||||
tmp.filter,
|
||||
tmp.ticketProblems`);
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@ module.exports = Self => {
|
|||
|
||||
stmts.push(
|
||||
`DROP TEMPORARY TABLE
|
||||
tmp.ticket,
|
||||
tmp.filter,
|
||||
tmp.ticketProblems`);
|
||||
|
||||
|
|
Loading…
Reference in New Issue