文件名从 src/main/kotlin/cn/flightfeather/supervision/timingtask/PushFume.kt 修改 |
| | |
| | | import cn.flightfeather.supervision.domain.mapper.DeviceInfoMapper |
| | | import cn.flightfeather.supervision.domain.mapper.FumeMinuteValueMapper |
| | | import cn.flightfeather.supervision.infrastructure.utils.DateUtil |
| | | import com.github.pagehelper.PageHelper |
| | | import org.slf4j.LoggerFactory |
| | | import org.springframework.beans.factory.annotation.Autowired |
| | | import org.springframework.stereotype.Component |
| | | import tk.mybatis.mapper.entity.Example |
| | | import java.time.LocalDateTime |
| | | import java.time.LocalTime |
| | | import java.time.ZoneId |
| | | import java.time.ZoneOffset |
| | | import java.time.format.DateTimeFormatter |
| | | import java.util.* |
| | | import javax.annotation.PostConstruct |
| | | import kotlin.math.round |
| | | |
| | | /** |
| | | * 涓婁紶娌圭儫鐩戞祴鏁版嵁 |
| | | */ |
| | | @Component |
| | | class PushFume : BaseTimingTask() { |
| | | class TaskPushFume : BaseTimingTask() { |
| | | |
| | | companion object { |
| | | // private lateinit var instance: PushFume |
| | | val LOGGER = LoggerFactory.getLogger(PushFume::class.java) |
| | | val LOGGER = LoggerFactory.getLogger(TaskPushFume::class.java) |
| | | } |
| | | |
| | | @Autowired |