From e60599b5db6173c42703f72be9aac2cf19a972e2 Mon Sep 17 00:00:00 2001 From: llopis15 Date: Thu, 18 Mar 2021 11:51:28 +0100 Subject: [PATCH] update --- methods/bindTicketShelving.js | 5 ----- methods/insertTicketOld.js | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/methods/bindTicketShelving.js b/methods/bindTicketShelving.js index c2fe732..ecedf8a 100644 --- a/methods/bindTicketShelving.js +++ b/methods/bindTicketShelving.js @@ -19,11 +19,7 @@ function ticketCollection(collectionFk) {// parametro collectionFk maxWagon.maxWagon(collectionFk, function(err, max) { // aqui iria una función para pedir el numero de shelvings correspondientes let shelving = ['ABC', 'DFG', 'HIJ']; - // if(filter.isShelving(shelving)){ insertTicket(data, shelving, max); - // }else{ - // console.log("¡MATRICULA INCORRECTA!") - // } }); }); } @@ -63,7 +59,6 @@ function insertTicket(consultaSql, shelving, max) { } }); return true; - // console.log(body,consultaSql[i].Ticket,shelving[consultaSql[i].Wagon-1],consultaSql[i].Level.toString().charAt(j)) } } })(); diff --git a/methods/insertTicketOld.js b/methods/insertTicketOld.js index 533d9d3..35486a7 100644 --- a/methods/insertTicketOld.js +++ b/methods/insertTicketOld.js @@ -10,7 +10,7 @@ function insertTicket(consultaSql, shelving, max) { for (let i = 0; i < consultaSql.length; i++) { // for(var j=0;j