|
@@ -1,7 +1,7 @@
|
|
|
package com.flow;
|
|
|
|
|
|
|
|
|
-import com.flow.converter.ExcelToPdfConverter;
|
|
|
+//import com.flow.converter.ExcelToPdfConverter;
|
|
|
import com.flow.model.ExecSql;
|
|
|
import com.flow.service.ReportDatasourceService;
|
|
|
import org.flowable.engine.HistoryService;
|
|
@@ -27,16 +27,16 @@ public class FlowApplicationTest {
|
|
|
@Autowired
|
|
|
private ReportDatasourceService reportDatasourceService;
|
|
|
|
|
|
- @Test
|
|
|
+/* @Test
|
|
|
public void test() {
|
|
|
ExecSql execSql = new ExecSql();
|
|
|
execSql.setDatasourceId(1L);
|
|
|
execSql.setSql("select * from report_datasource");
|
|
|
List<Map<String, Object>> list = reportDatasourceService.execSql(execSql);
|
|
|
System.out.println("list = " + list);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
- @Test
|
|
|
+/* @Test
|
|
|
public void testConvert() {
|
|
|
String sourceFilePath = "d:/source.xlsx";
|
|
|
String desFilePath = "d:/rest.pdf";
|
|
@@ -49,5 +49,5 @@ public class FlowApplicationTest {
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|