This commit is contained in:
zyyang 2021-02-24 17:09:40 +08:00
parent dc2ff58330
commit 2f80bac5fe
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class TSDBPreparedStatementTest {
long end = System.currentTimeMillis();
long start = end - 1000 * 60 * 60;
pstmt_select.setTimestamp(1, new Timestamp(start));
pstmt_select.setTimestamp(2, new Timestamp(endg));
pstmt_select.setTimestamp(2, new Timestamp(end));
pstmt_select.setFloat(3, 0);
ResultSet rs = pstmt_select.executeQuery();