Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 3319-worker_time-control
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
f45db68e0d
|
@ -34,7 +34,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:20
|
-- Dump completed on 2021-11-08 8:19:54
|
||||||
USE `account`;
|
USE `account`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -120,7 +120,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:22
|
-- Dump completed on 2021-11-08 8:19:55
|
||||||
USE `salix`;
|
USE `salix`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -176,7 +176,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:23
|
-- Dump completed on 2021-11-08 8:19:56
|
||||||
USE `vn`;
|
USE `vn`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -432,7 +432,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:27
|
-- Dump completed on 2021-11-08 8:20:01
|
||||||
USE `cache`;
|
USE `cache`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -468,7 +468,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:28
|
-- Dump completed on 2021-11-08 8:20:02
|
||||||
USE `hedera`;
|
USE `hedera`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -534,7 +534,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:29
|
-- Dump completed on 2021-11-08 8:20:03
|
||||||
USE `postgresql`;
|
USE `postgresql`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -608,7 +608,7 @@ UNLOCK TABLES;
|
||||||
|
|
||||||
LOCK TABLES `workcenter` WRITE;
|
LOCK TABLES `workcenter` WRITE;
|
||||||
/*!40000 ALTER TABLE `workcenter` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `workcenter` DISABLE KEYS */;
|
||||||
INSERT INTO `workcenter` VALUES (1,'Silla',20,NULL,1,'Av espioca 100',552703),(2,'Mercaflor',19,NULL,NULL,NULL,NULL),(3,'Marjales',26,20008,NULL,NULL,NULL),(4,'VNH',NULL,NULL,3,NULL,NULL),(5,'Madrid',28,2867,5,'Av constitución 3',554145),(6,'Vilassar',88,88038,2,'Cami del Crist, 33',556412),(7,'Tenerife',NULL,NULL,10,NULL,NULL),(8,NULL,NULL,NULL,NULL,NULL,NULL),(9,'Algemesi',20,1348,60,'Fenollars, 2',523549),(10,NULL,NULL,NULL,NULL,NULL,NULL);
|
INSERT INTO `workcenter` VALUES (1,'Silla',20,NULL,1,'Av espioca 100',552703),(2,'Mercaflor',19,NULL,NULL,NULL,NULL),(3,'Marjales',26,20008,NULL,NULL,NULL),(4,'VNH',NULL,NULL,3,NULL,NULL),(5,'Madrid',28,2868,5,'Av constitución 3',554145),(6,'Vilassar',88,88038,2,'Cami del Crist, 33',556412),(7,'Tenerife',NULL,NULL,10,NULL,NULL),(8,NULL,NULL,NULL,NULL,NULL,NULL),(9,'Algemesi',20,1351,60,'Fenollars, 2',523549),(10,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||||
/*!40000 ALTER TABLE `workcenter` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `workcenter` ENABLE KEYS */;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||||
|
@ -620,7 +620,7 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:30
|
-- Dump completed on 2021-11-08 8:20:05
|
||||||
USE `sage`;
|
USE `sage`;
|
||||||
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
-- MariaDB dump 10.19 Distrib 10.6.4-MariaDB, for Linux (x86_64)
|
||||||
--
|
--
|
||||||
|
@ -676,4 +676,4 @@ UNLOCK TABLES;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2021-10-20 8:38:31
|
-- Dump completed on 2021-11-08 8:20:06
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -172,11 +172,11 @@ module.exports = Self => {
|
||||||
LEFT JOIN zoneEstimatedDelivery zed ON zed.zoneFk = t.zoneFk`);
|
LEFT JOIN zoneEstimatedDelivery zed ON zed.zoneFk = t.zoneFk`);
|
||||||
|
|
||||||
stmt.merge(conn.makeWhere(filter.where));
|
stmt.merge(conn.makeWhere(filter.where));
|
||||||
|
stmt.merge(`GROUP BY id`);
|
||||||
stmt.merge(conn.makePagination(filter));
|
stmt.merge(conn.makePagination(filter));
|
||||||
stmts.push(stmt);
|
stmts.push(stmt);
|
||||||
|
|
||||||
stmt = new ParameterizedSQL(`SELECT * FROM tmp.filter`);
|
stmt = new ParameterizedSQL(`SELECT * FROM tmp.filter`);
|
||||||
stmt.merge(`GROUP BY id`);
|
|
||||||
stmt.merge(conn.makeOrderBy(filter.order));
|
stmt.merge(conn.makeOrderBy(filter.order));
|
||||||
const ordersIndex = stmts.push(stmt) - 1;
|
const ordersIndex = stmts.push(stmt) - 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue