Commit 5f1f9617 authored by 赵建伟's avatar 赵建伟

update codes

parent 7e35398e
......@@ -284,26 +284,26 @@
</state>
<state x="553" y="153" key="CommitChangelistDialog2/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058" timestamp="1584956237641" />
<state x="784" y="1223" key="CommitChangelistDialog2/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588154132365" />
<state width="1878" height="244" key="GridCell.Tab.0.bottom" timestamp="1588241253691">
<state width="1878" height="244" key="GridCell.Tab.0.bottom" timestamp="1588241415700">
<screen x="246" y="1080" width="1920" height="1151" />
</state>
<state width="1878" height="321" key="GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058" timestamp="1584688137007" />
<state width="1878" height="244" key="GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241253691" />
<state width="1878" height="244" key="GridCell.Tab.0.center" timestamp="1588241253690">
<state width="1878" height="244" key="GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241415700" />
<state width="1878" height="244" key="GridCell.Tab.0.center" timestamp="1588241415698">
<screen x="246" y="1080" width="1920" height="1151" />
</state>
<state width="1878" height="321" key="GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058" timestamp="1584688137005" />
<state width="1878" height="244" key="GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241253690" />
<state width="1878" height="244" key="GridCell.Tab.0.left" timestamp="1588241253689">
<state width="1878" height="244" key="GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241415698" />
<state width="1878" height="244" key="GridCell.Tab.0.left" timestamp="1588241415698">
<screen x="246" y="1080" width="1920" height="1151" />
</state>
<state width="1878" height="321" key="GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058" timestamp="1584688137005" />
<state width="1878" height="244" key="GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241253689" />
<state width="1878" height="244" key="GridCell.Tab.0.right" timestamp="1588241253690">
<state width="1878" height="244" key="GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241415698" />
<state width="1878" height="244" key="GridCell.Tab.0.right" timestamp="1588241415699">
<screen x="246" y="1080" width="1920" height="1151" />
</state>
<state width="1878" height="321" key="GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058" timestamp="1584688137006" />
<state width="1878" height="244" key="GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241253690" />
<state width="1878" height="244" key="GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151" timestamp="1588241415699" />
<state width="1878" height="319" key="GridCell.Tab.1.bottom" timestamp="1588216559611">
<screen x="246" y="1080" width="1920" height="1151" />
</state>
......
......@@ -5,7 +5,7 @@ package com.gmei.data.gateway.server.common;
*/
public class Constants {
//执行失败
public static Integer FAIL = 0;
public static Integer FAIL = 1;
//执行成功
public static Integer SUCCESS = 1;
public static Integer SUCCESS = 0;
}
......@@ -73,7 +73,7 @@ public class SparksqlServiceImpl implements SparksqlService {
Connection conn = null;
try{
conn = DriverManager.getConnection(sparksqlJdbcUrl);
conn = DriverManager.getConnection(sparksqlJdbcUrl,"data","");
Statement statement = conn.createStatement();
ResultSet rs = statement.executeQuery(hql);
ResultSetMetaData metaData = rs.getMetaData();
......@@ -90,6 +90,7 @@ public class SparksqlServiceImpl implements SparksqlService {
rows.add(rowVals);
}
}catch (Exception e){
e.printStackTrace();
logger.error(e.getMessage());
return null;
}
......
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