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.
|
const con = require('./connect');
|
|
|
|
function shelvingExist(shelving, callback) {
|
|
const consSql = `SELECT * FROM vn.shelving WHERE code = ?`;
|
|
con.query(consSql, shelving, function(err, result, fields) {
|
|
callback(null, result);
|
|
});
|
|
}
|
|
|
|
exports.shelvingExist = shelvingExist;
|
|
|