Commit 3bfcf095 authored by 赵建伟's avatar 赵建伟

update codes

parent 83dedd9b
......@@ -118,7 +118,7 @@
<workItem from="1587982524517" duration="5052000" />
<workItem from="1588152481879" duration="139000" />
<workItem from="1588154352798" duration="195000" />
<workItem from="1588220085338" duration="7170000" />
<workItem from="1588220085338" duration="7403000" />
</task>
<task id="LOCAL-00001" summary="add init codes.">
<created>1587723565207</created>
......
......@@ -215,7 +215,7 @@
<workItem from="1584945647680" duration="4469000" />
<workItem from="1588148891822" duration="2318000" />
<workItem from="1588152718016" duration="1463000" />
<workItem from="1588154601852" duration="22806000" />
<workItem from="1588154601852" duration="23406000" />
</task>
<servers />
</component>
......
#!/usr/bin/env bash
curl http://localhost:8553/api/report/genExcel?name=demo
\ No newline at end of file
......@@ -80,9 +80,9 @@ public class SparksqlServiceImpl implements SparksqlService {
ResultSetMetaData metaData = rs.getMetaData();
int columnCount = metaData.getColumnCount();
for(int i=1;i<= columnCount;i++){
//String catalogName = metaData.getCatalogName(i);
//headers.add(catalogName);
headers.add("AA");
String catalogName = metaData.getCatalogName(i);
headers.add(catalogName);
//headers.add("AA");
}
while(rs.next()){
List<String> rowVals = new ArrayList<String>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment