Sistemato problema bonfiico SEPA con più date valuta

This commit is contained in:
2025-02-03 16:52:32 +01:00
parent 2277443482
commit b16124eb8a

View File

@@ -677,11 +677,11 @@ public class SEPAService {
rs.close();
ps.close();
if (paymList.size() == 1) {
if (paymList.size() != 0) {
//sommatoria
paymList.get(0).getGrpHdr().setCtrlSum(somma);
paymList.get(paymList.size() -1).getGrpHdr().setCtrlSum(somma);
// numero
paymList.get(0).getGrpHdr().setNbOfTxs(i.toString());
paymList.get(paymList.size() -1).getGrpHdr().setNbOfTxs(i.toString());
}
List<Object> genericList = new ArrayList<>();