增加补传推送第三方功能
This commit is contained in:
parent
85c3778385
commit
5a23385a82
@ -211,8 +211,8 @@ public class GNSSDeviceLocationRecordServiceImpl implements GNSSDeviceLocationRe
|
|||||||
LocalDateTime beforTime = afterTime.plusHours(groupCalc.getFilter_hour());
|
LocalDateTime beforTime = afterTime.plusHours(groupCalc.getFilter_hour());
|
||||||
QueryWrapper<GnssCalcData> query = new QueryWrapper<>();
|
QueryWrapper<GnssCalcData> query = new QueryWrapper<>();
|
||||||
query.eq("deviceid", deviceId);
|
query.eq("deviceid", deviceId);
|
||||||
query.ge("createtime", beforTime.format(dateFormatter));
|
query.le("createtime", beforTime.format(dateFormatter));
|
||||||
query.le("createtime", afterTime.format(dateFormatter));
|
query.ge("createtime", afterTime.format(dateFormatter));
|
||||||
|
|
||||||
List<GnssCalcData> calcDataListToUpdate = repository.selectList(query);
|
List<GnssCalcData> calcDataListToUpdate = repository.selectList(query);
|
||||||
for(GnssCalcData calcData:calcDataListToUpdate){
|
for(GnssCalcData calcData:calcDataListToUpdate){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user