Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BJ-921: Add chargebacks and adjustment payment status #257

Merged
merged 4 commits into from
May 26, 2020

Conversation

tolkonepiu
Copy link
Contributor

Comment on lines 287 to 292
fetchOne(query, (rs, i) -> ImmutableMap.<String, String>builder()
.put("merchant_id", rs.getString("merchant_id"))
.put("shop_id", rs.getString("shop_id"))
.put("currency_code", rs.getString("currency_code"))
.put("funds_returned", rs.getString("funds_returned"))
.build())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

может лямбду все-таки в метод?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно) Но я в надежде на замену всего этого в виде репортера)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Понял. Принял)))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ща добавляю

Comment on lines 294 to 300
ImmutableMap.<String, String>builder()
.put("merchant_id", merchantId)
.put("shop_id", shopId)
.put("currency_code", currencyCode)
.put("funds_returned", "0")
.build()
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и вот это

@tolkonepiu
Copy link
Contributor Author

@D-Baykov в рамках исправлений по ревью еще переработал запросы, убрал у всех группировки, они были не нужны. Должно дать буста. В результате опциональность перевел в сам запрос и под единный row mapper.

@tolkonepiu tolkonepiu merged commit 9e10882 into epic/old_magista May 26, 2020
@tolkonepiu tolkonepiu deleted the ft/add_chargebacks branch May 26, 2020 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants