Commit b8f16883 authored by zhoushiguang's avatar zhoushiguang

事件插入通知

parent e9d2e77c
...@@ -11,7 +11,7 @@ import javax.annotation.Resource; ...@@ -11,7 +11,7 @@ import javax.annotation.Resource;
@Component @Component
@Slf4j @Slf4j
public class KafkaProducerService { public class KafkaProducerServiceHandler {
private final Logger logger = LoggerFactory.getLogger(this.getClass()); private final Logger logger = LoggerFactory.getLogger(this.getClass());
......
...@@ -8,7 +8,7 @@ import net.wanji.common.utils.tool.JacksonUtils; ...@@ -8,7 +8,7 @@ import net.wanji.common.utils.tool.JacksonUtils;
import net.wanji.common.utils.tool.StringUtils; import net.wanji.common.utils.tool.StringUtils;
import net.wanji.datacenter.cache.CrossGreenWaveInfoCache; import net.wanji.datacenter.cache.CrossGreenWaveInfoCache;
import net.wanji.datacenter.constant.EventAbnormalEnum; import net.wanji.datacenter.constant.EventAbnormalEnum;
import net.wanji.datacenter.kafka.KafkaProducerService; import net.wanji.datacenter.kafka.KafkaProducerServiceHandler;
import net.wanji.datacenter.mapper.EventInfoMapper; import net.wanji.datacenter.mapper.EventInfoMapper;
import net.wanji.datacenter.pojo.dto.EventDataDTO; import net.wanji.datacenter.pojo.dto.EventDataDTO;
import net.wanji.datacenter.pojo.po.EventInfoPO; import net.wanji.datacenter.pojo.po.EventInfoPO;
...@@ -32,7 +32,7 @@ public class EventDataServiceImpl implements EventDataService { ...@@ -32,7 +32,7 @@ public class EventDataServiceImpl implements EventDataService {
@Resource @Resource
private EventInfoMapper eventInfoMapper; private EventInfoMapper eventInfoMapper;
@Resource @Resource
private KafkaProducerService kafkaProducerService; private KafkaProducerServiceHandler kafkaProducerService;
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
@Override @Override
......
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