промежуточная сессия МКР: removed fail status для второй части сделки
This commit is contained in:
parent
5018e8a4be
commit
7660f88387
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ public class InspectionObligations implements ISessionStage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//проверяем есть ли второй день для сделки (он не входит в пул, поэтому ищем отдельно)
|
//проверяем есть ли второй день для сделки (он не входит в пул, поэтому ищем отдельно)
|
||||||
if (registries.stream().anyMatch(rgs -> rgs.getRefundDate() != null)) {
|
if (registries.stream().anyMatch(rgs -> rgs.getRefundDate() != null) && !SessionType.MEDM.equals(sessionType)) {
|
||||||
Optional<Pair<Long, LocalDate>> groupIdAndSettleDate = registries.stream()
|
Optional<Pair<Long, LocalDate>> groupIdAndSettleDate = registries.stream()
|
||||||
.map(rgs -> new Pair<>(rgs.getGroupId(), rgs.getSettlementDate()))
|
.map(rgs -> new Pair<>(rgs.getGroupId(), rgs.getSettlementDate()))
|
||||||
.filter(pair -> pair.getFirst() != null)
|
.filter(pair -> pair.getFirst() != null)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue