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
5401cd8f
Commit
5401cd8f
authored
Aug 16, 2024
by
lilongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、光伏检测页面健康状态指数趋势图查询方法改为按照analysis_time过滤
parent
6641beff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IdxBizPvHealthIndexController.java
...e/jxiop/biz/controller/IdxBizPvHealthIndexController.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/IdxBizPvHealthIndexController.java
View file @
5401cd8f
...
...
@@ -488,7 +488,7 @@ public class IdxBizPvHealthIndexController extends BaseController {
}
Date
startDate
=
DateUtils
.
dateParse
(
startTimeTop
);
startTimeTop
=
formatter
.
format
(
startDate
);
List
<
PvHealthIndexHour
>
pvHealthIndexHours
=
pvHealthIndexHourMapper
.
selectData
(
station
,
analysisType
,
indexAddress
,
healthLevel
,
area
,
analysisObjType
,
subarray
,
pointName
,
startTimeTop
,
endTimeTop
,
equipmentName
,
(
current
-
1
)
*
size
,
size
,
orgCode
);
List
<
PvHealthIndexHour
>
pvHealthIndexHours
=
pvHealthIndexHourMapper
.
select
Trend
Data
(
station
,
analysisType
,
indexAddress
,
healthLevel
,
area
,
analysisObjType
,
subarray
,
pointName
,
startTimeTop
,
endTimeTop
,
equipmentName
,
(
current
-
1
)
*
size
,
size
,
orgCode
);
pvHealthIndexHours
=
pvHealthIndexHours
.
stream
().
sorted
(
Comparator
.
comparing
(
PvHealthIndexHour:
:
getRecDate
)).
collect
(
Collectors
.
toList
());
for
(
PvHealthIndexHour
obj
:
pvHealthIndexHours
)
{
if
(
type
.
equals
(
"0"
))
{
...
...
@@ -510,7 +510,7 @@ public class IdxBizPvHealthIndexController extends BaseController {
Date
startDate
=
DateUtils
.
dateParse
(
startTimeTop
);
startTimeTop
=
formatter
.
format
(
startDate
);
List
<
PvHealthIndexMoment
>
pvHealthIndexMoment
=
pvHealthIndexMomentMapper
.
selectData
(
station
,
analysisType
,
indexAddress
,
healthLevel
,
area
,
analysisObjType
,
subarray
,
pointName
,
startTimeTop
,
endTimeTop
,
equipmentName
,
(
current
-
1
)
*
size
,
size
,
orgCode
);
List
<
PvHealthIndexMoment
>
pvHealthIndexMoment
=
pvHealthIndexMomentMapper
.
select
Trend
Data
(
station
,
analysisType
,
indexAddress
,
healthLevel
,
area
,
analysisObjType
,
subarray
,
pointName
,
startTimeTop
,
endTimeTop
,
equipmentName
,
(
current
-
1
)
*
size
,
size
,
orgCode
);
pvHealthIndexMoment
=
pvHealthIndexMoment
.
stream
().
sorted
(
Comparator
.
comparing
(
PvHealthIndexMoment:
:
getAnalysisTime
)).
collect
(
Collectors
.
toList
());
for
(
PvHealthIndexMoment
obj
:
pvHealthIndexMoment
)
{
if
(
type
.
equals
(
"0"
))
{
...
...
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