@@ -317,7 +317,7 @@ public class AlarmLogController {
sql="SELECT \"lng\",\"lat\" FROM \"tdl_policy\".\""+device+"\" where time >= "+alarmMessageVo.getAlarmTime()*1000000l+" ORDER BY time limit 1;SELECT \"lng\",\"lat\" FROM \"tdl_policy\".\""+device+"\" where time <= "+alarmMessageVo.getAlarmTime()*1000000l+" ORDER BY time desc limit 1;";
Stringsql="SELECT \"lng\",\"lat\" FROM \"tdl_policy\".\""+device+"\" where time >= "+startTime+" ORDER BY time desc limit 1";
Stringsql="SELECT \"bdlng\",\"bdlat\" FROM \"tdl_policy\".\""+device+"\" where \"data_type\" = 'location' and time >= "+startTime+" ORDER BY time desc limit 1";