更新开始时间1
This commit is contained in:
@@ -209,7 +209,7 @@ public class SQLiteUtil {
|
|||||||
if (data == null || data.getBetId() == null) continue;
|
if (data == null || data.getBetId() == null) continue;
|
||||||
|
|
||||||
pstmt.setString(1, data.getBetId());
|
pstmt.setString(1, data.getBetId());
|
||||||
pstmt.setDate(2, data.getTime());
|
pstmt.setTimestamp(2, new Timestamp(data.getTime().getTime()));
|
||||||
pstmt.setDouble(3, data.getBetAmount() != null ? data.getBetAmount() : 0.0);
|
pstmt.setDouble(3, data.getBetAmount() != null ? data.getBetAmount() : 0.0);
|
||||||
pstmt.setString(4, data.getResult() != null ? data.getResult() : "未知");
|
pstmt.setString(4, data.getResult() != null ? data.getResult() : "未知");
|
||||||
pstmt.setDouble(5, data.getResultAmount() != null ? data.getResultAmount() : 0.0);
|
pstmt.setDouble(5, data.getResultAmount() != null ? data.getResultAmount() : 0.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user