Fix "isRelevant" functionality - fix is_modifiable column condition in cash selection.

This commit is contained in:
szymonsztuka 2018-08-22 13:38:17 +01:00
parent 2fae95c58f
commit 32a4a8712a

View File

@ -58,7 +58,7 @@ class CashSelectionSQLServerImpl : AbstractCashSelection() {
ON vs.transaction_id = ccs.transaction_id AND vs.output_index = ccs.output_index
WHERE
vs.state_status = 0
vs.is_modifiable = 0
AND vs.is_modifiable = 0
AND ccs.ccy_code = ?
AND (vs.lock_id = ? OR vs.lock_id IS NULL)
"""