diff --git a/index.js b/index.js index b95aaca..11d6930 100644 --- a/index.js +++ b/index.js @@ -28,11 +28,12 @@ Postgres.FirstRow = function (inSQL, args, inResponse) { } console.log(err.stack); inResponse.json(err.stack); - }); + }); }; server.get('/', (req, res) => res.send('node.js express is up and running')) +server.get('/login', (req, res) => res.sendFile('//mnt/c/Users/PTrowbridge/Documents/forecast_api/msauth.html')) server.get('/logs', (req, res) => res.sendFile('~/forecast_api/logs.html')) diff --git a/route_sql/scenario_package.sql b/route_sql/scenario_package.sql index c91fd43..a7a49dd 100644 --- a/route_sql/scenario_package.sql +++ b/route_sql/scenario_package.sql @@ -23,10 +23,10 @@ mseq AS ( --select * from mseq ,base AS ( SELECT - order_season - ,order_month - ,version - ,iter + --order_season + --,order_month + --,version + --,iter ,part_descr ,bill_cust_descr ,ship_cust_descr @@ -37,10 +37,10 @@ FROM WHERE where_clause GROUP BY - order_season - ,order_month - ,version - ,iter + --order_season + --,order_month + --,version + --,iter ,part_descr ,bill_cust_descr ,ship_cust_descr