deleted printServer
This commit is contained in:
parent
e3a6f97a51
commit
b07fa79109
|
@ -1,13 +0,0 @@
|
||||||
const ParameterizedSQL = require('loopback-connector').ParameterizedSQL;
|
|
||||||
|
|
||||||
async function printServer(){
|
|
||||||
const stmt = new ParameterizedSQL(
|
|
||||||
`SELECT * FROM campaign`);
|
|
||||||
stmt.merge(conn.makeWhere(filter.where));
|
|
||||||
stmt.merge('GROUP BY code');
|
|
||||||
stmt.merge(conn.makePagination(filter));
|
|
||||||
|
|
||||||
return conn.executeStmt(stmt);
|
|
||||||
}
|
|
||||||
|
|
||||||
setInterval(printServer, 2000);
|
|
|
@ -1,2 +0,0 @@
|
||||||
SELECT *
|
|
||||||
FROM vn.printQueue;
|
|
Loading…
Reference in New Issue