|
|
|
@ -97,8 +97,8 @@ sealed class Criteria(override var uniqueIdentifier: Int) : IntIdentifiable, Row |
|
|
|
it.numericValue |
|
|
|
it.numericValue |
|
|
|
}.distinct().forEach {value -> |
|
|
|
}.distinct().forEach {value -> |
|
|
|
val condition: QueryCondition.CustomFieldNumberQuery = when (this.customFieldType) { |
|
|
|
val condition: QueryCondition.CustomFieldNumberQuery = when (this.customFieldType) { |
|
|
|
CustomField.Type.AMOUNT.uniqueIdentifier -> QueryCondition.CustomFieldNumberQuery() |
|
|
|
CustomField.Type.AMOUNT.uniqueIdentifier -> QueryCondition.CustomFieldAmountQuery() |
|
|
|
CustomField.Type.NUMBER.uniqueIdentifier -> QueryCondition.CustomFieldAmountQuery() |
|
|
|
CustomField.Type.NUMBER.uniqueIdentifier -> QueryCondition.CustomFieldNumberQuery() |
|
|
|
else -> throw PokerAnalyticsException.QueryValueMapUnexpectedValue |
|
|
|
else -> throw PokerAnalyticsException.QueryValueMapUnexpectedValue |
|
|
|
}.apply { |
|
|
|
}.apply { |
|
|
|
this.customFieldId = this@ListCriteria.customFieldId |
|
|
|
this.customFieldId = this@ListCriteria.customFieldId |
|
|
|
|