This repository has been archived on 2024-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
2021-03-18 10:38:28 +00:00
|
|
|
const con = require('./connect');
|
2021-03-12 15:26:02 +00:00
|
|
|
|
2021-05-13 07:08:30 +00:00
|
|
|
function selectCollectionSmartTag(collectionFk, callback) {
|
|
|
|
let consSql = `SELECT code, ticketFk, level, wagon, shelvingFk FROM vn.collectionSmartTag WHERE collectionFk = ${collectionFk}`;
|
2021-03-18 10:38:28 +00:00
|
|
|
con.con.query(consSql, function(err, result, fields) {
|
|
|
|
callback(null, result);
|
2021-03-12 15:26:02 +00:00
|
|
|
});
|
|
|
|
}
|
2021-03-15 09:10:37 +00:00
|
|
|
|
2021-05-13 07:08:30 +00:00
|
|
|
exports.selectCollectionSmartTag = selectCollectionSmartTag;
|
2021-03-12 15:26:02 +00:00
|
|
|
|