Merge branch 'dev' of github.com:fleetside72/forecast_api into dev

This commit is contained in:
Paul Trowbridge 2019-03-18 15:07:21 -05:00
commit ec9bd664c1
2 changed files with 10 additions and 9 deletions

View File

@ -28,11 +28,12 @@ Postgres.FirstRow = function (inSQL, args, inResponse) {
} }
console.log(err.stack); console.log(err.stack);
inResponse.json(err.stack); inResponse.json(err.stack);
}); });
}; };
server.get('/', (req, res) => res.send('node.js express is up and running')) 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('//home/pt/forecast_api/logs.html')) server.get('/logs', (req, res) => res.sendFile('//home/pt/forecast_api/logs.html'))

View File

@ -23,10 +23,10 @@ mseq AS (
--select * from mseq --select * from mseq
,base AS ( ,base AS (
SELECT SELECT
order_season --order_season
,order_month --,order_month
,version --,version
,iter --,iter
,part_descr ,part_descr
,bill_cust_descr ,bill_cust_descr
,ship_cust_descr ,ship_cust_descr
@ -37,10 +37,10 @@ FROM
WHERE WHERE
where_clause where_clause
GROUP BY GROUP BY
order_season --order_season
,order_month --,order_month
,version --,version
,iter --,iter
,part_descr ,part_descr
,bill_cust_descr ,bill_cust_descr
,ship_cust_descr ,ship_cust_descr