diff --git a/back/methods/printServer/main.js b/back/methods/printServer/main.js deleted file mode 100644 index 3f60d51ac..000000000 --- a/back/methods/printServer/main.js +++ /dev/null @@ -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); \ No newline at end of file diff --git a/back/methods/printServer/sql/printQueue.sql b/back/methods/printServer/sql/printQueue.sql deleted file mode 100644 index aced591aa..000000000 --- a/back/methods/printServer/sql/printQueue.sql +++ /dev/null @@ -1,2 +0,0 @@ -SELECT * - FROM vn.printQueue; \ No newline at end of file