Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
6f9f52cc
Commit
6f9f52cc
authored
Jul 24, 2024
by
lilongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、风电各风机状态模块下的健康状态指数趋势查询时间改为10分钟
2、光伏场各子阵状态模块下健康状态指数趋势查询时间改为10分钟
parent
1eab958e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
TDBigScreenAnalyseController.java
...le/jxiop/biz/controller/TDBigScreenAnalyseController.java
+5
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/TDBigScreenAnalyseController.java
View file @
6f9f52cc
...
...
@@ -1583,10 +1583,9 @@ public class TDBigScreenAnalyseController extends BaseController {
@RequestParam
(
value
=
"stationId"
,
required
=
false
)
String
stationId
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
Date
currentDayStartTime
=
DateUtils
.
getCurrentDayStartTime
(
DateUtils
.
dateAddDays
(
new
Date
(),
-
15
));
Date
currentDayEndTime
=
DateUtils
.
getCurrentDayEndTime
(
new
Date
());
String
startTime
=
DateUtils
.
convertDateToString
(
currentDayStartTime
,
DateUtils
.
DATE_TIME_PATTERN
);
String
endTime
=
DateUtils
.
convertDateToString
(
currentDayEndTime
,
DateUtils
.
DATE_TIME_PATTERN
);
String
startTime
=
DateUtils
.
convertDateToString
(
DateUtils
.
dateAddMinutes
(
new
Date
(),
-
10
),
DateUtils
.
DATE_TIME_PATTERN
);
String
endTime
=
DateUtils
.
convertDateToString
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
);
LambdaQueryWrapper
<
FanHealthIndexDay
>
lambdaQueryWrapper
=
new
LambdaQueryWrapper
<>();
lambdaQueryWrapper
.
eq
(
FanHealthIndexDay:
:
getIndexAddress
,
indexAddress
);
...
...
@@ -1624,10 +1623,8 @@ public class TDBigScreenAnalyseController extends BaseController {
@RequestParam
(
value
=
"stationId"
,
required
=
false
)
String
stationId
)
{
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
Date
currentDayStartTime
=
DateUtils
.
getCurrentDayStartTime
(
DateUtils
.
dateAddDays
(
new
Date
(),
-
15
));
Date
currentDayEndTime
=
DateUtils
.
getCurrentDayEndTime
(
new
Date
());
String
startTime
=
DateUtils
.
convertDateToString
(
currentDayStartTime
,
DateUtils
.
DATE_TIME_PATTERN
);
String
endTime
=
DateUtils
.
convertDateToString
(
currentDayEndTime
,
DateUtils
.
DATE_TIME_PATTERN
);
String
startTime
=
DateUtils
.
convertDateToString
(
DateUtils
.
dateAddMinutes
(
new
Date
(),
-
10
),
DateUtils
.
DATE_TIME_PATTERN
);
String
endTime
=
DateUtils
.
convertDateToString
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
);
LambdaQueryWrapper
<
PvHealthIndexDay
>
lambdaQueryWrapper
=
new
LambdaQueryWrapper
<>();
lambdaQueryWrapper
.
eq
(
PvHealthIndexDay:
:
getIndexAddress
,
indexAddress
);
...
...
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