mirror of
https://github.com/yrzam/findb.git
synced 2024-12-29 10:32:00 +00:00
fix
This commit is contained in:
parent
8c1c4d0f4d
commit
11c5230e6c
6
scripts/add.sh
Normal file → Executable file
6
scripts/add.sh
Normal file → Executable file
@ -31,11 +31,11 @@ make_query() {
|
|||||||
|
|
||||||
case "$TARGET" in
|
case "$TARGET" in
|
||||||
"tx")
|
"tx")
|
||||||
echo "insert into latest_fin_transactions(amount,asset_type,asset_code,storage,category,datetime) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"),$(text_arg "$4"),$(text_arg "$5"),$(text_arg "$6"));";;
|
echo "insert into latest_fin_transactions(amount,asset_type,asset_code,storage,category,datetime) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"),$(text_arg "$4"),$(text_arg "$5"),$(text_arg "$6"));";;
|
||||||
"bal")
|
"bal")
|
||||||
echo "insert into current_balances(balance,asset_type,asset_code,storage) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"),$(text_arg "$4"));";;
|
echo "insert into current_balances(balance,asset_type,asset_code,storage) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"),$(text_arg "$4"));";;
|
||||||
"rate")
|
"rate")
|
||||||
echo "insert into current_fin_asset_rates(rate,asset_type,asset) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"))";;
|
echo "insert into current_fin_asset_rates(rate,asset_type,asset) values($(num_arg "$1"),$(text_arg "$2"),$(text_arg "$3"))";;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user