zyg před 1 rokem
rodič
revize
1b16ab23a7

+ 2 - 2
hz-business/src/main/java/com/hz/business/service/impl/AnalysisReportServiceImpl.java

@@ -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);