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 select(ticket, callback) {
|
|
let sql = `SELECT * FROM vn.collectionSmartTag WHERE ticketFk = ?`;
|
|
con.query(sql, ticket, function(err, result) {
|
|
if (err) throw err;
|
|
callback(null, result);
|
|
});
|
|
}
|
|
|
|
exports.select = select;
|
|
|