From f22c4b9230808fed4fec80c435eccb4c833349a0 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 21 十月 2022 18:36:38 +0800 Subject: [PATCH] 2022.10.21 1.环境守法小程序后台功能首发版本完成 --- src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskPushFume.kt | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/timingtask/PushFume.kt b/src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskPushFume.kt similarity index 95% rename from src/main/kotlin/cn/flightfeather/supervision/timingtask/PushFume.kt rename to src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskPushFume.kt index b2e4007..55d4069 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/timingtask/PushFume.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/timingtask/TaskPushFume.kt @@ -8,29 +8,24 @@ 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 -- Gitblit v1.9.3