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) {
|
2022-03-30 12:58:49 +00:00
|
|
|
const consSql = `SELECT * FROM vn.collectionSmartTag WHERE collectionFk = ?;`;
|
|
|
|
con.query(consSql, collectionFk, function(err, result, fields) {
|
|
|
|
if (err) throw err;
|
2021-03-18 10:38:28 +00:00
|
|
|
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
|
|
|
|