fix: update url
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-01-17 09:25:20 +01:00
parent f7ee6c18ca
commit 76fe32924c
3 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,3 @@
UPDATE `vn`.`report`
SET `method`='InvoiceOuts/{reference}/invoice'
SET `method`='InvoiceOuts/{refFk}/invoice'
WHERE name='invoice';

View File

@ -147,10 +147,11 @@ INSERT INTO `vn`.`sector`(`id`, `description`, `warehouseFk`, `isPreviousPrepare
(1, 'First sector', 1, 1, 'FIRST'),
(2, 'Second sector', 2, 0, 'SECOND');
INSERT INTO `vn`.`printer` (`id`, `name`, `path`, `isLabeler`, `sectorFk`)
INSERT INTO `vn`.`printer` (`id`, `name`, `path`, `isLabeler`, `sectorFk`, `ipAddress`)
VALUES
(1, 'printer1', 'path1', 0, 1),
(2, 'printer2', 'path2', 1, 1);
(1, 'printer1', 'path1', 0, 1 , NULL),
(2, 'printer2', 'path2', 1, 1 , NULL),
(4, 'printer4', 'path4', 0, NULL, 10.1.10.4);
INSERT INTO `vn`.`worker`(`id`, `code`, `firstName`, `lastName`, `userFk`,`bossFk`, `phone`, `sectorFk`, `labelerFk`)
VALUES
@ -2762,7 +2763,7 @@ INSERT INTO `salix`.`url` (`appName`, `environment`, `url`)
INSERT INTO `vn`.`report` (`id`, `name`, `paperSizeFk`, `method`)
VALUES
(3, 'invoice', NULL, 'InvoiceOuts/{reference}/invoice');
(3, 'invoice', NULL, 'InvoiceOuts/{refFk}/invoice');
INSERT INTO `vn`.`payDemDetail` (`id`, `detail`)
VALUES

View File

@ -32370,6 +32370,7 @@ CREATE TABLE `printQueue` (
`error` text COLLATE utf8mb3_unicode_ci DEFAULT NULL,
`errorNumber` int(11) DEFAULT NULL,
`created` timestamp NOT NULL DEFAULT current_timestamp(),
`serverId` int(10) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `statusCode` (`statusCode`),
KEY `printerFk` (`printerFk`),
@ -32379,7 +32380,7 @@ CREATE TABLE `printQueue` (
CONSTRAINT `printQueue_printerFk` FOREIGN KEY (`printerFk`) REFERENCES `printer` (`id`) ON UPDATE CASCADE,
CONSTRAINT `printQueue_priorityFk` FOREIGN KEY (`priorityFk`) REFERENCES `queuePriority` (`id`) ON UPDATE CASCADE,
CONSTRAINT `printQueue_report` FOREIGN KEY (`reportFk`) REFERENCES `report` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDBDEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--