@@ -255,8 +255,11 @@ public class LocalBusDeviceService extends BaseService<BusDeviceMapper, BusDevic
}
log.info("更新设备数量:【{}】",CollUtil.size(existDevices));
this.updateBatchById(existDevices);
-
+ })
+ .whenComplete((i,e)->{
+ if(e!=null){
+ log.error("同步设备失败",e);
+ }
});