order folders

This commit is contained in:
alexmorenograu 2021-03-17 15:27:09 +01:00
parent 73a59ca65d
commit 4b4770b037
7 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
const insertShelving = require('./insertShelving');
const bindShelving = require('./bindShelving');
const insertShelving = require('./methods/insertShelving');
const bindShelving = require('./methods/bindShelving');
const filter = require('./utilities/filter');
const insertDB = require('./db/insertDB')

View File

@ -1,4 +1,4 @@
const insert = require('./insertTicket');
const insert = require('./methods/insertTicket');
const filter = require('./utilities/filter');
const select = require('./db/selectDB');
const maxWagon = require('./db/maxWagon');
@ -10,7 +10,6 @@ var collectionFk = '273449';
function ticketCollection(collectionFk){//parametro collectionFk
select.select(collectionFk, function(err,data){
maxWagon.maxWagon(collectionFk,function(err,max){
console.log('Entra')
//aqui iria una función para pedir el numero de shelvings correspondientes
var shelving = ['ABC','DFG','HIJ']
//if(filter.isShelving(shelving)){

View File

@ -1,5 +1,5 @@
const insert = require('./insertTicket');
const filter = require('./filter');
const insert = require('./methods/insertTicket');
const filter = require('./utilities/filter');
const select = require('./db/selectDB');
var barcode = "A0A3B820690F";

View File

@ -1,4 +1,4 @@
const config = require('./config');
const config = require('../config');
const got = require('got');
function bindShelving(barcode, shelvingId){

View File

@ -1,4 +1,4 @@
const config = require('./config');
const config = require('../config');
const got = require('got');
function insertShelving(shelvingId){

View File

@ -1,5 +1,5 @@
function insertTicket(consultaSql, shelving, max){
const config = require('./config');
const config = require('../config');
const got = require('got');
(async() => {
const info = await config.info

View File

@ -1,5 +1,5 @@
function insertTicket(consultaSql, shelving, max){
const config = require('./config');
const config = require('../config');
const got = require('got');
(async() => {
const info = await config.info