fix KSRepCashNettoReport

This commit is contained in:
akulikov 2024-10-13 12:09:59 +03:00
parent 99f96e6df0
commit 4e66ed3889

View file

@ -219,7 +219,7 @@ public class KSRepCashNettoReportBuilder extends CSVReportBuilder<SessionIdParam
withValue = true; withValue = true;
} }
if (section == Section.MKR || sessionTypeForOblReqValue.contains(sessionType)) { if (section == Section.MKR || sessionTypeForOblReqValue.contains(sessionType)) {
reqValue = reqValue.add(omtRegistry.getBalance()); oblValue = oblValue.add(omtRegistry.getBalance());
withOblReqValue = true; withOblReqValue = true;
} }
if (section == Section.CURR || sessionType == SessionType.CURR) { if (section == Section.CURR || sessionType == SessionType.CURR) {
@ -237,7 +237,7 @@ public class KSRepCashNettoReportBuilder extends CSVReportBuilder<SessionIdParam
withValue = true; withValue = true;
} }
if (section == Section.MKR || sessionTypeForOblReqValue.contains(sessionType)) { if (section == Section.MKR || sessionTypeForOblReqValue.contains(sessionType)) {
oblValue = oblValue.add(tmtRegistry.getBalance()); reqValue = reqValue.add(tmtRegistry.getBalance());
withOblReqValue = true; withOblReqValue = true;
} }
if (section == Section.CURR || sessionType == SessionType.CURR) { if (section == Section.CURR || sessionType == SessionType.CURR) {