refactor: isBox to freightItemFk
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3caf89bddb
commit
9b202b7a84
|
@ -32261,7 +32261,7 @@ CREATE TABLE `packaging` (
|
|||
`base` decimal(10,2) DEFAULT NULL,
|
||||
`itemFk` int(11) DEFAULT NULL,
|
||||
`price` decimal(10,2) NOT NULL,
|
||||
`freightItemFk` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`isBox` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`cubicPackage` decimal(10,2) DEFAULT NULL,
|
||||
`returnCost` decimal(10,2) NOT NULL DEFAULT 0.00,
|
||||
`cmrName` varchar(45) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
|
||||
|
@ -37147,7 +37147,7 @@ CREATE TABLE `ticket` (
|
|||
`companyFk` smallint(5) unsigned NOT NULL DEFAULT 442,
|
||||
`agencyModeFk` int(11) DEFAULT NULL,
|
||||
`landed` date DEFAULT NULL,
|
||||
`freightItemFked` tinyint(2) NOT NULL DEFAULT 0,
|
||||
`isBoxed` tinyint(2) NOT NULL DEFAULT 0,
|
||||
`isDeleted` tinyint(2) NOT NULL DEFAULT 0,
|
||||
`zoneFk` int(11) DEFAULT NULL,
|
||||
`collectionFk__` int(11) DEFAULT NULL,
|
||||
|
@ -62506,7 +62506,7 @@ proc: BEGIN
|
|||
p.id provinceFk,
|
||||
tls.productionOrder,
|
||||
IFNULL(tls.alertLevel,0) alertLevel,
|
||||
t.freightItemFked palletized,
|
||||
t.isBoxed palletized,
|
||||
IF(rm.isPickingAllowed ,rm.bufferFk, NULL) ubicacion,
|
||||
tlu.lastUpdated,
|
||||
ifnull(st.graphCategory,0) graphCategory,
|
||||
|
@ -64036,7 +64036,7 @@ BEGIN
|
|||
JOIN vn.route r ON r.id = t.routeFk
|
||||
JOIN vn.time tm ON tm.dated = r.created
|
||||
JOIN vn.expedition e ON e.ticketFk = t.id
|
||||
JOIN vn.expeditionBoxVol ebv ON ebv.boxFk = e.freightItemFk
|
||||
JOIN vn.expeditionBoxVol ebv ON ebv.boxFk = e.isBox
|
||||
JOIN vn.address ad ON ad.id = t.addressFk
|
||||
JOIN vn.client c ON c.id = ad.clientFk
|
||||
LEFT JOIN vn.zone z ON z.id = t.zoneFk
|
||||
|
@ -67067,7 +67067,7 @@ BEGIN
|
|||
JOIN packaging p on p.id = b.packageFk
|
||||
WHERE s.quantity >= b.packing
|
||||
AND t.id = vTicketFk
|
||||
AND p.freightItemFk
|
||||
AND p.isBox
|
||||
GROUP BY s.itemFk;
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue