1.6607259e+09 1660725877
mysql> SELECT Val,CreateTs,CreateTs FROM Tab WHERE DeviceId=156 AND OID=".1.3.6.1.4.1.28713.1.2.2.0" AND CreateTs>=1660704714 AND CreateTs<1660791114 ORDER BY CreateTs ASC LIMIT 1; +--------+------------+------------+ | Val | CreateTs | CreateTs | +--------+------------+------------+ | 429780 | 1660725877 | 1660725877 | +--------+------------+------------+ 1 row in set (0.04 sec)for rows.Next() { var X float32 var Y string var a int32 err = rows.Scan(&Y, &X, &a)
![](/i/l/?n=22&i=blog/1006507/202208/1006507-20220818113302444-1580087581.png)
1660725945
1660725952
golang 处理后的分界线![](/i/l/?n=22&i=blog/1006507/202208/1006507-20220818115035019-428218598.png)
`CreateTs` INT(10) NOT NULL DEFAULT '0' COMMENT '创建时的Unix时间戳', 标签:rows,浮点数,CreateTs,golang,mysql,var From: https://www.cnblogs.com/rsapaper/p/16598084.html