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
f9ab7a80
Commit
f9ab7a80
authored
Nov 13, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
664f393e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
IdxBizFanHealthIndexController.java
.../jxiop/biz/controller/IdxBizFanHealthIndexController.java
+10
-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/IdxBizFanHealthIndexController.java
View file @
f9ab7a80
...
...
@@ -431,7 +431,7 @@ public class IdxBizFanHealthIndexController extends BaseController {
List
<
FanHealthIndexDay
>
fanHealthIndexDays
=
fanHealthIndexDayMapper
.
selectData
(
healthLevel
,
area
,
equipmentName
,
subSystem
,
analysisType
,
analysisObjType
,
station
,
pointName
,
indexAddress
,
startTimeTop
,
endTimeTop
,
null
,
null
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"value"
,
Double
.
parseDouble
(
df
.
format
(
fanHealthIndexDays
.
get
(
0
).
getValue
(
))));
map
.
put
(
"value"
,
Double
.
parseDouble
(
df
.
format
(
Double
.
parseDouble
(
fanHealthIndexDays
.
get
(
0
).
getValue
()
))));
return
ResponseHelper
.
buildResponse
(
map
);
}
...
...
@@ -543,7 +543,9 @@ public class IdxBizFanHealthIndexController extends BaseController {
// startTimeTop = formatter.format(startDate);
// }
List
<
FanHealthIndexDay
>
fanHealthIndexDays
=
fanHealthIndexDayMapper
.
selectData
(
healthLevel
,
area
,
equipmentName
,
subSystem
,
analysisType
,
analysisObjType
,
station
,
pointName
,
indexAddress
,
startTimeTop
,
endTimeTop
,(
current
-
1
)*
size
,
size
);
fanHealthIndexDays
.
forEach
(
item
->
{
item
.
setHealthIndex
(
Double
.
parseDouble
(
df
.
format
(
item
.
getHealthIndex
())));
});
Page
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
...
...
@@ -570,6 +572,9 @@ public class IdxBizFanHealthIndexController extends BaseController {
// startTimeTop = formatter.format(startDate);
// }
List
<
FanHealthIndexHour
>
fanHealthIndexHours
=
fanHealthIndexHourMapper
.
selectData
(
healthLevel
,
area
,
equipmentName
,
subSystem
,
analysisType
,
analysisObjType
,
station
,
pointName
,
indexAddress
,
startTimeTop
,
endTimeTop
,(
current
-
1
)*
size
,
size
);
fanHealthIndexHours
.
forEach
(
item
->
{
item
.
setHealthIndex
(
Double
.
parseDouble
(
df
.
format
(
item
.
getHealthIndex
())));
});
Page
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
...
...
@@ -589,6 +594,9 @@ public class IdxBizFanHealthIndexController extends BaseController {
// startTimeTop = formatter.format(startDate);
// }
List
<
FanHealthIndexMoment
>
fanHealthIndexMoments
=
fanHealthIndexMomentMapper
.
selectData
(
healthLevel
,
area
,
equipmentName
,
subSystem
,
analysisType
,
analysisObjType
,
station
,
pointName
,
indexAddress
,
startTimeTop
,
endTimeTop
,(
current
-
1
)*
size
,
size
);
fanHealthIndexMoments
.
forEach
(
item
->
{
item
.
setHealthIndex
(
Double
.
parseDouble
(
df
.
format
(
item
.
getHealthIndex
())));
});
Page
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
...
...
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