Commit 65b2cc15 authored by 韩桐桐's avatar 韩桐桐

开启安全追溯定时任务

parent 43b1b65e
...@@ -21,6 +21,7 @@ import org.eclipse.paho.client.mqttv3.MqttException; ...@@ -21,6 +21,7 @@ import org.eclipse.paho.client.mqttv3.MqttException;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.typroject.tyboot.component.emq.EmqKeeper; import org.typroject.tyboot.component.emq.EmqKeeper;
...@@ -39,6 +40,7 @@ import java.util.stream.Collectors; ...@@ -39,6 +40,7 @@ import java.util.stream.Collectors;
* @date 2024-05-21 * @date 2024-05-21
*/ */
@Service @Service
@EnableScheduling
public class SafetyProblemTracingGenServiceImpl{ public class SafetyProblemTracingGenServiceImpl{
final static Logger logger = LoggerFactory.getLogger(SafetyProblemTracingGenServiceImpl.class); final static Logger logger = LoggerFactory.getLogger(SafetyProblemTracingGenServiceImpl.class);
......
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