Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
2a6d7ed5
Commit
2a6d7ed5
authored
Jul 07, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
f56ea8f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
2a6d7ed5
...
@@ -28,6 +28,7 @@ import com.yeejoin.amos.boot.module.jxiop.biz.service.IMonitorFanIndicator;
...
@@ -28,6 +28,7 @@ import com.yeejoin.amos.boot.module.jxiop.biz.service.IMonitorFanIndicator;
import
com.yeejoin.amos.component.robot.BadRequest
;
import
com.yeejoin.amos.component.robot.BadRequest
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
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
;
...
@@ -41,6 +42,7 @@ import java.util.stream.Collectors;
...
@@ -41,6 +42,7 @@ import java.util.stream.Collectors;
* @createDate: 2023/7/3
* @createDate: 2023/7/3
*/
*/
@Service
@Service
@EnableScheduling
public
class
MonitorFanIndicatorImpl
implements
IMonitorFanIndicator
{
public
class
MonitorFanIndicatorImpl
implements
IMonitorFanIndicator
{
@Autowired
@Autowired
...
@@ -55,8 +57,6 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -55,8 +57,6 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
@Autowired
@Autowired
InfluxDButils
influxDButils
;
InfluxDButils
influxDButils
;
@Autowired
InfluxDButils
influxDButils
;
@Autowired
@Autowired
TemporaryDataMapper
temporaryDataMapper
;
TemporaryDataMapper
temporaryDataMapper
;
...
@@ -414,9 +414,9 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -414,9 +414,9 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
@Scheduled
(
cron
=
"0 */
1
* * * ?"
)
@Scheduled
(
cron
=
"0 */
5
* * * ?"
)
private
void
schedTaskData
(){
private
void
schedTaskData
(){
log
.
info
(
"定时插入数据开始"
);
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
StationBasic
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
BaseEntity:
:
getIsDelete
,
false
);
wrapper
.
eq
(
BaseEntity:
:
getIsDelete
,
false
);
List
<
StationBasic
>
stationBasics
=
stationBasicMapper
.
selectList
(
wrapper
);
List
<
StationBasic
>
stationBasics
=
stationBasicMapper
.
selectList
(
wrapper
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment