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) {
|
2021-07-01 06:55:17 +00:00
|
|
|
let consSql = `SELECT * FROM vn.collectionSmartTag2 WHERE collectionFk = ${collectionFk};`;
|
2021-05-13 13:29:53 +00:00
|
|
|
console.log(consSql);
|
2021-03-18 10:38:28 +00:00
|
|
|
con.con.query(consSql, function(err, result, fields) {
|
2021-05-13 13:29:53 +00:00
|
|
|
console.log(result);
|
2021-03-18 10:38:28 +00:00
|
|
|
callback(null, result);
|
2021-05-13 13:29:53 +00:00
|
|
|
console.log(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
|
|
|
|