Commit d62e6f25 authored by jichao's avatar jichao

设备运行时长,改bug

parent a88c1446
...@@ -201,7 +201,10 @@ public class BusDeviceServiceImpl implements BusDeviceService { ...@@ -201,7 +201,10 @@ public class BusDeviceServiceImpl implements BusDeviceService {
} }
}); });
//更新结果 //更新结果
return busDeviceRepository.batchUpdateRunTm(saveList); if (saveList.size() > 0)
return busDeviceRepository.batchUpdateRunTm(saveList);
else
return 0;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment