Modifica CMR per problema su note contatto mancanti

This commit is contained in:
2024-05-15 10:38:17 +02:00
parent e8d316cb83
commit 6ec4bf91e0

View File

@@ -227,7 +227,9 @@ public class CrmService {
ptbPrevt.setCambio(BigDecimal.ONE);
ptbPrevt.setCodVage(codVage);
ptbPrevt.setStatoOfferta("CONTATTO");
ptbPrevt.setOggetto(Base64.encodeBase64String(note.getBytes()));
if (note.getBytes() != null){
ptbPrevt.setOggetto(Base64.encodeBase64String(note.getBytes()));
}
if (pathFolderPrevt.compareTo("") != 0 && nameFileCheckList.compareTo("") != 0) {
ls_nextNumFile = getNextNumFile();