1、查找推送历史数据的bug
This commit is contained in:
parent
af9e843379
commit
7d100da281
@ -253,9 +253,11 @@ public class Forwarder {
|
|||||||
queryWrapper.ne("state",ResendRecord.STATE_FWD_OK);
|
queryWrapper.ne("state",ResendRecord.STATE_FWD_OK);
|
||||||
List<ResendRecord> resendRecordsList = resendRecordMapper.selectList(queryWrapper);
|
List<ResendRecord> resendRecordsList = resendRecordMapper.selectList(queryWrapper);
|
||||||
if(resendRecordsList!=null){
|
if(resendRecordsList!=null){
|
||||||
logger.info("forward history records: ",resendRecordsList.size());
|
logger.info("{} forward history records: {}",fwdGroupId, resendRecordsList.size());
|
||||||
// 2.检索这个这个时间段的解算结果,如果有数据则单个终端转发,标志记录为已补传
|
// 2.检索这个这个时间段的解算结果,如果有数据则单个终端转发,标志记录为已补传
|
||||||
for(ResendRecord record:resendRecordsList){
|
for(ResendRecord record:resendRecordsList){
|
||||||
|
if(record.getProjectid()!=null)
|
||||||
|
logger.info("{} forward history {}",fwdGroupId, record.getProjectid());
|
||||||
forwardBatchGnssRecords(record);
|
forwardBatchGnssRecords(record);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user