}
private static void fillSubstituteCandidaciesOrder(List<SelectDFACandidacyBean> substituteCandidacies) {
if (substituteCandidacies != null && !substituteCandidacies.isEmpty()) {
for (SelectDFACandidacyBean candidacyBean : substituteCandidacies) {
SubstituteCandidacySituation candidacySituation =
(SubstituteCandidacySituation) candidacyBean.getCandidacy().getActiveCandidacySituation();
candidacySituation.setCandidacyOrder(candidacyBean.getOrder());
}
}
}