Commit 74808415 authored by tangwei's avatar tangwei

解决冲突

parents 3c197ce8 c7690e13
package com.yeejoin.amos.boot.module.jxiop.biz.service.impl; //package com.yeejoin.amos.boot.module.jxiop.biz.service.impl;
//
import com.google.common.collect.Lists; //import com.google.common.collect.Lists;
import com.yeejoin.amos.boot.module.jxiop.api.dto.IndexDto; //import com.yeejoin.amos.boot.module.jxiop.api.dto.IndexDto;
import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; //import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Async; //import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component; //import org.springframework.stereotype.Component;
//
import java.util.List; //import java.util.List;
//
/** ///**
* @description: // * @description:
* @author: tw // * @author: tw
* @createDate: 2023/7/4 // * @createDate: 2023/7/4
*/ // */
@Component //@Component
public class MonitorFanIndicatorAsync { //public class MonitorFanIndicatorAsync {
@Autowired // @Autowired
MonitorFanIndicatorImpl monitorFanIndicatorImpl; // MonitorFanIndicatorImpl monitorFanIndicatorImpl;
@Value("${station.section}") // @Value("${station.section}")
private int stationSection; // private int stationSection;
@Value("${station.isok}") // @Value("${station.isok}")
private boolean isok; // private boolean isok;
//
//
@Async("jxiopAsyncExecutor") // @Async("jxiopAsyncExecutor")
public void UpdateMonitorFanIndicator(List<IndexDto> list){ // public void UpdateMonitorFanIndicator(List<IndexDto> list){
monitorFanIndicatorImpl.UpdateMonitorFanIndicator(list); // monitorFanIndicatorImpl.UpdateMonitorFanIndicator(list);
} // }
//
//
} //}
...@@ -36,8 +36,8 @@ public class StationDataTaskImpl { ...@@ -36,8 +36,8 @@ public class StationDataTaskImpl {
// @Autowired // @Autowired
// InfluxDButils influxDButils; // InfluxDButils influxDButils;
@Autowired // @Autowired
MonitorFanIndicatorAsync monitorFanIndicatorAsync; // MonitorFanIndicatorAsync monitorFanIndicatorAsync;
/** /**
* 获取 List<StationTaksDto> * 获取 List<StationTaksDto>
......
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