7965-unifyProblems #2990

Open
carlosap wants to merge 13 commits from 7965-unifyProblems into dev
7 changed files with 10 additions and 2 deletions
Showing only changes of commit 4e0a81464c - Show all commits

View File

@ -283,6 +283,7 @@ proc: BEGIN
DROP TEMPORARY TABLE
tmp.productionTicket,
tmp.ticket,
tmp.ticketProblems,
tmp.saleProblems,
tmp.ticketWithPrevia,

View File

@ -163,6 +163,6 @@ BEGIN
END LOOP;
CLOSE vCursor;
DROP TEMPORARY TABLE tItemShelving, tmp.sale;
DROP TEMPORARY TABLE tItemShelving;
END$$
DELIMITER ;

View File

@ -18,6 +18,8 @@ BEGIN
SELECT * FROM tmp.saleProblems;
DROP TEMPORARY TABLE tmp.saleProblems;
DROP TEMPORARY TABLE
tmp.saleProblems,
tmp.sale;
END$$
DELIMITER ;

View File

@ -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 ;

View File

@ -375,6 +375,7 @@ module.exports = Self => {
stmts.push(`
DROP TEMPORARY TABLE
tmp.ticket,
tmp.filter,
tmp.ticketProblems,
tmp.sale_getWarnings,

View File

@ -369,6 +369,7 @@ module.exports = Self => {
stmts.push(
`DROP TEMPORARY TABLE
tmp.ticket,
tmp.filter,
tmp.ticketProblems`);

View File

@ -213,6 +213,7 @@ module.exports = Self => {
stmts.push(
`DROP TEMPORARY TABLE
tmp.ticket,
tmp.filter,
tmp.ticketProblems`);