From 8385b592f8630a501955d0c477896b96f9e3d111856b2deb2774118981fcac42 Mon Sep 17 00:00:00 2001 From: PC <2413103649@qq.com> Date: Tue, 3 Mar 2026 14:14:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=B7=A1=E6=A3=80=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cdzy/operations/service/impl/EbikeBikeInfoServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ebike-operations/src/main/java/com/cdzy/operations/service/impl/EbikeBikeInfoServiceImpl.java b/ebike-operations/src/main/java/com/cdzy/operations/service/impl/EbikeBikeInfoServiceImpl.java index 90d4ee3..3eb1007 100644 --- a/ebike-operations/src/main/java/com/cdzy/operations/service/impl/EbikeBikeInfoServiceImpl.java +++ b/ebike-operations/src/main/java/com/cdzy/operations/service/impl/EbikeBikeInfoServiceImpl.java @@ -311,6 +311,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl bikeCodes = launchVo.getBikeCodes(); + //自动巡检 for (String bikeCode : bikeCodes) { EbikeCarrierConfiguration configuration = orderConfigurationService.getConfigurationByOperationId(region.getOperatorId()); redisUtil.saveInspectionOrder(bikeCode, null, configuration != null ? configuration.getInspectionIntervalDuration() : 30L, TimeUnit.DAYS); @@ -324,6 +325,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl bikeCodes = launchVo.getBikeCodes(); + //移除自动巡检 for (String bikeCode : bikeCodes) { redisUtil.deleteInspectionOrder(bikeCode); }