0
1
Fork 0

feat: refs #7704 Refactor

This commit is contained in:
Guillermo Bonet 2024-07-11 13:36:21 +02:00
parent 099f494101
commit 7f2c645682
1 changed files with 2 additions and 9 deletions

View File

@ -105,8 +105,7 @@
auto-load="false"
result-index="3"
on-status-changed="onItemsChange">
DROP TEMPORARY TABLE IF EXISTS tmp.item;
CREATE TEMPORARY TABLE tmp.item
CREATE OR REPLACE TEMPORARY TABLE tmp.item
(INDEX (itemFk))
ENGINE = MEMORY
SELECT i.id itemFk
@ -132,13 +131,7 @@
WHERE b.available > 0
ORDER BY i.relevancy DESC, i.name, i.size
LIMIT 5000;
DROP TEMPORARY TABLE
tmp.item,
tmp.ticketCalculateItem,
tmp.ticketComponentPrice,
tmp.ticketComponent,
tmp.ticketLot,
tmp.zoneGetShipped;
CALL vn.ticketCalculatePurge();
</db-model>
<db-form id="$card" v-model="card" model="items"/>
<vn-lot id="card-lot"/>