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