|
@@ -1420,10 +1420,10 @@ public class AnalysisReportServiceImpl extends ServiceImpl<AnalysisReportMapper,
|
|
PreparedStatement psSelect = null;
|
|
PreparedStatement psSelect = null;
|
|
try {
|
|
try {
|
|
conn = PhoenixUtils.getConnection();
|
|
conn = PhoenixUtils.getConnection();
|
|
- psSelect = conn.prepareStatement(" use " + database + " ");
|
|
|
|
|
|
+ /*psSelect = conn.prepareStatement(" use " + database + " ");
|
|
psSelect.setFetchSize(1000);
|
|
psSelect.setFetchSize(1000);
|
|
psSelect.execute();
|
|
psSelect.execute();
|
|
- psSelect.close();
|
|
|
|
|
|
+ psSelect.close();*/
|
|
psSelect = conn.prepareStatement(sql);
|
|
psSelect = conn.prepareStatement(sql);
|
|
ResultSet resultSet = psSelect.executeQuery();
|
|
ResultSet resultSet = psSelect.executeQuery();
|
|
mapList = ResultSetToJson.toListMap(resultSet, false);
|
|
mapList = ResultSetToJson.toListMap(resultSet, false);
|