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.
smart-tag/db/selectTicket.js

12 lines
283 B
JavaScript
Raw Permalink Normal View History

2021-03-25 08:33:53 +00:00
const con = require('./connect');
function select(ticket, callback) {
2021-05-13 14:21:34 +00:00
let consSql = `SELECT * FROM vn.collectionSmartTag WHERE ticketFk = ${ticket}`;
2021-03-25 08:33:53 +00:00
con.con.query(consSql, function(err, result, fields) {
callback(null, result);
});
}
exports.select = select;