From a20160f6faaa0919ed370ae15670ef30ef90742c Mon Sep 17 00:00:00 2001 From: "marco.spasiano" Date: Thu, 19 Sep 2024 15:38:37 +0200 Subject: [PATCH] Add date of pubblication inPA to excel of calls --- .../main/java/it/cnr/si/cool/jconon/service/PrintService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cool-jconon-backend/src/main/java/it/cnr/si/cool/jconon/service/PrintService.java b/cool-jconon-backend/src/main/java/it/cnr/si/cool/jconon/service/PrintService.java index c9e3cecad..b127dd917 100644 --- a/cool-jconon-backend/src/main/java/it/cnr/si/cool/jconon/service/PrintService.java +++ b/cool-jconon-backend/src/main/java/it/cnr/si/cool/jconon/service/PrintService.java @@ -194,7 +194,7 @@ public class PrintService { ); private final List headCSVCall = Arrays.asList( "Tipologia", "Codice bando", "Requisiti","Sede di lavoro", "Struttura di riferimento", - "N° G.U.R.I.", "Data G.U.R.I.", "Data scadenza", "Responsabile (Nominativo)", + "N° G.U.R.I.", "Data G.U.R.I.", "Data Pubblicazione inPA","Data scadenza", "Responsabile (Nominativo)", "Email Responsabile.", "N. Posti", "Profilo/Livello", "Bando - Num. Protocollo", "Bando - Data Protocollo", "Commissione - Num. Protocollo", "Commissione - Data Protocollo", @@ -2874,6 +2874,8 @@ private void getRecordCSVCall(Session session, Folder callObject, CMISUser user, row.createCell(column++).setCellValue(callObject.getPropertyValue(JCONONPropertyIds.CALL_NUMERO_GU.value())); row.createCell(column++).setCellValue(Optional.ofNullable(callObject.getPropertyValue(JCONONPropertyIds.CALL_DATA_GU.value())).map( map -> dateFormat.format(((Calendar) map).getTime())).orElse("")); + row.createCell(column++).setCellValue(Optional.ofNullable(callObject.getPropertyValue(JCONONPropertyIds.CALL_DATA_INPA.value())).map( + map -> dateFormat.format(((Calendar) map).getTime())).orElse("")); row.createCell(column++).setCellValue(Optional.ofNullable(callObject.getPropertyValue(JCONONPropertyIds.CALL_DATA_FINE_INVIO_DOMANDE.value())).map( map -> dateFormat.format(((Calendar) map).getTime())).orElse("")); List users;