7729-devToTest_2430 #2739
|
@ -27,7 +27,7 @@ BEGIN
|
|||
JOIN vn.ticket t ON t.id = s.ticketFk
|
||||
WHERE ic.merchandise
|
||||
AND t.shipped BETWEEN vDateStart AND util.dayEnd(vDateEnd)
|
||||
GROUP BY it.id, bs.dated;
|
||||
GROUP BY i.id, bs.dated;
|
||||
|
||||
INSERT INTO salesByItemTypeDay (itemTypeFk, dated, trash, faults)
|
||||
SELECT it.id itemTypeFk,
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
-- Place your SQL code here
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`agencyIncoming` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`code` varchar(50) DEFAULT NULL,
|
||||
`description` varchar(50) DEFAULT NULL,
|
||||
`isOrigin` tinyint(1) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
)
|
||||
ENGINE=InnoDB
|
||||
DEFAULT CHARSET=utf8mb3
|
||||
COLLATE=utf8mb3_unicode_ci;
|
Loading…
Reference in New Issue