diff --git a/schema/postgres/750$rule.decision.fetch.sql b/schema/postgres/750$rule.decision.fetch.sql index 28bfcb34..fe6f4811 100644 --- a/schema/postgres/750$rule.decision.fetch.sql +++ b/schema/postgres/750$rule.decision.fetch.sql @@ -108,7 +108,7 @@ $BODY$ "@amount" >= f."startAmount" ORDER BY c."priority", - f."startAmount", + f."startAmount" DESC, f."feeId" LIMIT 1 )