change target paths and files, update readme for current state

This commit is contained in:
Paul Trowbridge 2020-12-07 20:44:16 -05:00
parent 3e94851aea
commit b791aff0af
3 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,8 @@ scale
- [ ] how to handle a target value adjustment, which currency is it in?
- [ ] need to add version columns CTE's
- [ ] need to build log insert
- [ ] need to build where clause for scenario
- [c] need to build where clause for scenario
* no working currently
running problem list
----------------------------------------------------------------------------------------------------------------------------------------------------

View File

@ -1 +1 @@
curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale
curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale_final.sql

View File

@ -1,4 +1,4 @@
# execure the sql for scale which builds the sql and inserts into a table
$PGD -f routes/scale/gen_scale.sql
# pull the sql out of the table and write it to route directory
$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o routes/scale/scale.sql
$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o routes/scale/scale_final.sql