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