소스 검색

电池详情

zyg 1 년 전
부모
커밋
7052790ad5
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      hz-business/src/main/java/com/hz/business/service/impl/BatteryServiceImpl.java

+ 4 - 4
hz-business/src/main/java/com/hz/business/service/impl/BatteryServiceImpl.java

@@ -2378,10 +2378,10 @@ public class BatteryServiceImpl extends ServiceImpl<BatteryMapper, Battery> impl
         PreparedStatement psSelect = null;
         try {
             conn = PhoenixUtils.getConnection();
-            psSelect = conn.prepareStatement(" use " + database + " ");
-            psSelect.setFetchSize(1000);
-            psSelect.execute();
-            psSelect.close();
+            //psSelect = conn.prepareStatement(" use " + database + " ");
+            //psSelect.setFetchSize(1000);
+            //psSelect.execute();
+            //psSelect.close();
             psSelect = conn.prepareStatement(builder.toString());
             ResultSet resultSet = psSelect.executeQuery();
             flinkDataList = convertList(resultSet);