From 42e6c223e9ad58f6b195ad683d34e0e1bca04570 Mon Sep 17 00:00:00 2001 From: alexmorenograu <61759297+alexmorenograu@users.noreply.github.com> Date: Thu, 18 Mar 2021 15:34:07 +0100 Subject: [PATCH] delete old --- bindTicketShelvingOld.js | 18 ---------------- methods/insertTicketOld.js | 42 -------------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 bindTicketShelvingOld.js delete mode 100644 methods/insertTicketOld.js diff --git a/bindTicketShelvingOld.js b/bindTicketShelvingOld.js deleted file mode 100644 index 0a9b46f..0000000 --- a/bindTicketShelvingOld.js +++ /dev/null @@ -1,18 +0,0 @@ -// const insert = require('./methods/bindTicketShelving'); -const filter = require('./utilities/filter'); -const select = require('./db/selectDB'); - -// let barcode = 'A0A3B820690F'; -let shelving = 'BCD';// /introducida por el usuario -let collectionFk = '274286'; - -function ticketCollection(collectionFk) {// parametro collectionFk - select.select(collectionFk, function(err, data) { - if (filter.isShelving(shelving)) { - // insert.insertTicket(data, shelving,) - // } else - // console.log('¡MATRICULA INCORRECTA!'); - } - }); -} -ticketCollection(collectionFk); diff --git a/methods/insertTicketOld.js b/methods/insertTicketOld.js deleted file mode 100644 index 35486a7..0000000 --- a/methods/insertTicketOld.js +++ /dev/null @@ -1,42 +0,0 @@ -function insertTicket(consultaSql, shelving, max) { - const config = require('../config'); - const got = require('got'); - (async() => { - const info = await config.info; - let key = info.data.token; - let currentUser = info.data.currentUser; - - (async() => { - for (let i = 0; i < consultaSql.length; i++) { - // for(var j=0;j