1、修改mqtt的bug
This commit is contained in:
parent
c40a3c2d05
commit
9c321b6c48
@ -108,6 +108,10 @@ public class GNSSCalcFilterService {
|
||||
query.orderByDesc("createtime");
|
||||
|
||||
List<GnssCalcData> gnssDeviceLocationRecords = repository.selectList(query);
|
||||
logger.info(deviceId + " select records from "+filterAfterTime.format(dateFormatter)+
|
||||
" to "+newRecordTime.format(dateFormatter)+
|
||||
", record num:"+gnssDeviceLocationRecords.size());
|
||||
|
||||
if(gnssDeviceLocationRecords.size() == 0){
|
||||
//第一个点无参考,当作坏点处理
|
||||
newRecord.setEnabled(false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user