remove duplicates
This commit is contained in:
parent
663e5d3de5
commit
c16e8939e9
10
index.js
10
index.js
@ -53,14 +53,6 @@ server.get('/baseline', bodyParser.json(), function(req, res) {
|
|||||||
var path = './route_sql/baseline.sql';
|
var path = './route_sql/baseline.sql';
|
||||||
var args = [];
|
var args = [];
|
||||||
|
|
||||||
var app_baseline_from_date = '2020-06-01';
|
|
||||||
//app_baseline_to_date
|
|
||||||
//app_first_forecast_date
|
|
||||||
//app_openorder_cutoff
|
|
||||||
//app_openstatus_code
|
|
||||||
//app_plug_fromdate
|
|
||||||
//app_plug_todate
|
|
||||||
|
|
||||||
fs.readFile(path, 'utf8', function(err, data) {
|
fs.readFile(path, 'utf8', function(err, data) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
callback(data);
|
callback(data);
|
||||||
@ -79,6 +71,8 @@ server.get('/baseline', bodyParser.json(), function(req, res) {
|
|||||||
//app_plug_fromdate
|
//app_plug_fromdate
|
||||||
//app_plug_todate
|
//app_plug_todate
|
||||||
|
|
||||||
|
var app_baseline_from_date = '2020-06-01';
|
||||||
|
|
||||||
var callback = function(arg) {
|
var callback = function(arg) {
|
||||||
sql = arg;
|
sql = arg;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user