ialbert 2026-05-25 11:41:00 +03:00
parent 74f1e29c32
commit ddcb0f2619

View file

@ -1,6 +1,7 @@
package ru.spcex.clearing.session.state.action; package ru.spcex.clearing.session.state.action;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode;
import java.time.Instant; import java.time.Instant;
import java.time.LocalDate; import java.time.LocalDate;
import java.util.ArrayList; import java.util.ArrayList;
@ -262,7 +263,10 @@ public class InspectionObligationsPrecAction extends ReviseStage1Action {
); );
} }
notificationMessage[0].append("\nКомпания %s, код %s, %s %s;".formatted( notificationMessage[0].append("\nКомпания %s, код %s, %s %s;".formatted(
pmt.getShortName(), pmt.getTradingCode(), pmt.getBalance(), pmt.getSecuritySymbol()) pmt.getShortName(),
pmt.getTradingCode(),
pmt.getBalance().setScale(2, RoundingMode.HALF_UP),
pmt.getSecuritySymbol())
); );
}); });
if (notificationMessage[0] == null) { // сформированно 0 PM_T регистров if (notificationMessage[0] == null) { // сформированно 0 PM_T регистров