Browse Source

多线程

tevin 2 months ago
parent
commit
1ee2d8017c

+ 4 - 0
src/main/java/com/shanghaichengdi/service/impl/BoatPollutionWarningHandleServiceImpl.java

@@ -30,8 +30,10 @@ import java.util.stream.Collectors;
 @Slf4j
 @Service
 public class BoatPollutionWarningHandleServiceImpl implements IBoatPollutionWarningHandleService {
+
     @Resource
     private GpsStartTimeProperties gpsStartTimeProperties;
+
     @Resource
     private WarningProperties warningProperties;
 
@@ -50,6 +52,7 @@ public class BoatPollutionWarningHandleServiceImpl implements IBoatPollutionWarn
     @Resource
     private IBoatPollutionWarningService boatPollutionWarningService;
 
+    @Override
     public void handleShortBarge() {
         log.info("==========BoatPollutionWarningServiceImpl.handleShortBarge start==========");
         LocalDateTime handleStartTime = LocalDateTime.now();
@@ -90,6 +93,7 @@ public class BoatPollutionWarningHandleServiceImpl implements IBoatPollutionWarn
         log.info("==========BoatPollutionWarningServiceImpl.handleShortBarge end==========");
     }
 
+    @Override
     public void handleOrdinaryShip() {
         log.info("==========BoatPollutionWarningServiceImpl.handleOrdinaryShip start==========");
         LocalDateTime handleStartTime = LocalDateTime.now();