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