Commit e173bc41 by 毛树良

调整分页大小

1 parent 1d58e920
...@@ -63,7 +63,7 @@ public class DeviceSyncScheduled { ...@@ -63,7 +63,7 @@ public class DeviceSyncScheduled {
deviceQry.setModifyTime_gte(lastTimeUtc); deviceQry.setModifyTime_gte(lastTimeUtc);
deviceQry.setModifyTime_lte(currentTimeUtc); deviceQry.setModifyTime_lte(currentTimeUtc);
deviceQry.setOffset(0); deviceQry.setOffset(0);
deviceQry.setLimit(10); deviceQry.setLimit(20);
List<DeviceModel> deviceModels = trafficEventService.selectDeviceDatas(deviceQry); List<DeviceModel> deviceModels = trafficEventService.selectDeviceDatas(deviceQry);
log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次设备待同步数据总{}条。", lastTimeUtc, currentTimeUtc, deviceModels.size()); log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次设备待同步数据总{}条。", lastTimeUtc, currentTimeUtc, deviceModels.size());
if (!CollectionUtils.isEmpty(deviceModels)) { if (!CollectionUtils.isEmpty(deviceModels)) {
......
...@@ -63,7 +63,7 @@ public class LaneSyncScheduled { ...@@ -63,7 +63,7 @@ public class LaneSyncScheduled {
laneQry.setModifyTime_gte(lastTimeUtc); laneQry.setModifyTime_gte(lastTimeUtc);
laneQry.setModifyTime_lte(currentTimeUtc); laneQry.setModifyTime_lte(currentTimeUtc);
laneQry.setOffset(0); laneQry.setOffset(0);
laneQry.setLimit(10); laneQry.setLimit(20);
List<LaneModel> laneModels = trafficEventService.selectLaneDatas(laneQry); List<LaneModel> laneModels = trafficEventService.selectLaneDatas(laneQry);
log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次车道待同步数据总{}条。", lastTimeUtc, currentTimeUtc, laneModels.size()); log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次车道待同步数据总{}条。", lastTimeUtc, currentTimeUtc, laneModels.size());
if (!CollectionUtils.isEmpty(laneModels)) { if (!CollectionUtils.isEmpty(laneModels)) {
......
...@@ -64,7 +64,7 @@ public class TollgateSyncScheduled { ...@@ -64,7 +64,7 @@ public class TollgateSyncScheduled {
tollgateQry.setModifyTime_gte(lastTimeUtc); tollgateQry.setModifyTime_gte(lastTimeUtc);
tollgateQry.setModifyTime_lte(currentTimeUtc); tollgateQry.setModifyTime_lte(currentTimeUtc);
tollgateQry.setOffset(0); tollgateQry.setOffset(0);
tollgateQry.setLimit(10); tollgateQry.setLimit(20);
List<TollgateModel> tollgateModels = trafficEventService.selectTollgateDatas(tollgateQry); List<TollgateModel> tollgateModels = trafficEventService.selectTollgateDatas(tollgateQry);
log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次卡口待同步数据总{}条。", lastTimeUtc, currentTimeUtc, tollgateModels.size()); log.info("查询范围(lastTimeUtc,currentTimeUtc]=({},{}],本批次卡口待同步数据总{}条。", lastTimeUtc, currentTimeUtc, tollgateModels.size());
if (!CollectionUtils.isEmpty(tollgateModels)) { if (!CollectionUtils.isEmpty(tollgateModels)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!