sql="SELECT \"bdlng\",\"bdlat\",\"motion\" FROM \"tdl_policy\".\""+device+"\"where \"data_type\" = 'location' and time >= "+startTime+" ORDER BY time ";
sql="SELECT \"bdlng\",\"bdlat\",\"motion\" FROM \"tdl_policy\".\""+device+"\"where \"data_type\" = 'location' and time >= "+startTime+" ORDER BY time ";
// sql = "SELECT \"bdlng\",\"bdlat\",\"motion\" FROM \"tdl_policy\".\"" + device + "\"where \"data_type\" = 'location' and time >= 1552579200000000000 ORDER BY time ";
}else{
sql="SELECT \"lng\",\"lat\",\"motion\" FROM \"tdl_policy\".\""+device+"\"where \"data_type\" = 'location' and time >= "+startTime+" ORDER BY time ";
...
...
@@ -187,14 +204,17 @@ public class DataController {