Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions app-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"apiMethods": [
"NATIVE",
"PODIUM",
"GOOGLE"
],
"accounts": [
"BANK_ACCOUNT",
"ADDRESS_BOOK",
"DESTINATION_ID",
"BANK_CONTRACT"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface CurrencyRepositoryV2 : ReactiveCrudRepository<CurrencyModel, String> {
): Flux<CurrencyView>?


@Query("insert into currency(symbol,uuid,precision,icon,is_transitive,is_active,sign,external_url,display_order) values(:symbol,:uuid,:precision,:icon,:isTransitive,:isActive,:sign,:externalUrl,:displayOrder) ")
@Query("insert into currency(symbol,uuid,precision,icon,is_transitive,is_active,sign,external_url,display_order,max_order) values(:symbol,:uuid,:precision,:icon,:isTransitive,:isActive,:sign,:externalUrl,:displayOrder,:maxOrder) ")
fun insert(
symbol: String,
uuid: String,
Expand All @@ -92,7 +92,8 @@ interface CurrencyRepositoryV2 : ReactiveCrudRepository<CurrencyModel, String> {
isActive: Boolean? = true,
sign: String? = null,
externalUrl: String? = null,
displayOrder: Int? = null
displayOrder: Int? = null,
maxOrder: BigDecimal? = null
): Mono<Void>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ class CurrencyServiceImplV2(
request.isActive,
request.sign,
request.externalUrl,
request.displayOrder
request.displayOrder,
request.maxOrder
).awaitFirstOrNull()

if (listOf(
Expand Down
Loading