Sistemato problema bonfiico SEPA con più date valuta
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user