Aggiunto XLSX a esportazione CMD2Export
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit is unstable
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit is unstable
This commit is contained in:
16
.idea/runConfigurations/Tomcat9__1.xml
generated
Normal file
16
.idea/runConfigurations/Tomcat9__1.xml
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Tomcat9 #1" type="Remote" folderName="Frudis">
|
||||
<module name="ems-engine" />
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" />
|
||||
<option name="HOST" value="127.0.0.1" />
|
||||
<option name="PORT" value="8001" />
|
||||
<option name="AUTO_RESTART" value="false" />
|
||||
<RunnerSettings RunnerId="Debug">
|
||||
<option name="DEBUG_PORT" value="8001" />
|
||||
<option name="LOCAL" value="false" />
|
||||
</RunnerSettings>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
@@ -8,6 +8,7 @@ public class ConvertQueryDTO {
|
||||
|
||||
public enum Format {
|
||||
XLS("XLS"),
|
||||
XLSX("XLSX"),
|
||||
XML("XML"),
|
||||
CSV("CSV"),
|
||||
TXT("TXT"),
|
||||
|
||||
@@ -1619,6 +1619,9 @@ public class SystemController {
|
||||
case XLS:
|
||||
fileContent = UtilityResultSet.mapResultSetToXls(resultSet, "Foglio 1", false);
|
||||
break;
|
||||
case XLSX:
|
||||
fileContent = UtilityResultSet.mapResultSetToXlsx(resultSet, "Foglio 1", false);
|
||||
break;
|
||||
case XML:
|
||||
String xmlContent = UtilityResultSet.mapResultSetToXML(resultSet, "element");
|
||||
fileContent = xmlContent.getBytes();
|
||||
|
||||
Reference in New Issue
Block a user