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
f3b5ff79
Commit
f3b5ff79
authored
Sep 01, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理新增场站名拼音导致参数传递错误
parent
31a1ff6f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+2
-0
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+2
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
f3b5ff79
...
@@ -125,6 +125,8 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -125,6 +125,8 @@ public class MonitorFanIdxController extends BaseController {
IndexDto
indexDto
=
indexDtoList
.
get
(
i
-
1
);
IndexDto
indexDto
=
indexDtoList
.
get
(
i
-
1
);
hashMap
.
put
(
"url"
+
i
,
fanStatusImagePathPrefix
+
"/"
+
"风机-"
+
indexDto
.
getState
()+
".gif"
);
hashMap
.
put
(
"url"
+
i
,
fanStatusImagePathPrefix
+
"/"
+
"风机-"
+
indexDto
.
getState
()+
".gif"
);
hashMap
.
put
(
"name"
+
i
,
prefix
+
indexDto
.
getEquipmentNumber
());
hashMap
.
put
(
"name"
+
i
,
prefix
+
indexDto
.
getEquipmentNumber
());
//用于参数传递
hashMap
.
put
(
"name"
+
i
+
'd'
,
indexDto
.
getEquipmentNumber
());
}
}
page
.
setTotal
(
10
);
page
.
setTotal
(
10
);
page
.
setSize
(
10
);
page
.
setSize
(
10
);
...
...
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 @
f3b5ff79
...
@@ -934,6 +934,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -934,6 +934,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
if
(
Integer
.
parseInt
(
num
)
==
Integer
.
parseInt
(
listDatum
.
getEquipmentNumber
()))
{
if
(
Integer
.
parseInt
(
num
)
==
Integer
.
parseInt
(
listDatum
.
getEquipmentNumber
()))
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"title"
,
prefix
+
listDatum
.
getEquipmentNumber
());
map
.
put
(
"title"
,
prefix
+
listDatum
.
getEquipmentNumber
());
//用于参数传递
map
.
put
(
"title1"
,
listDatum
.
getEquipmentNumber
());
map
.
put
(
"windSpeed"
,
listDatum
.
getValue
());
map
.
put
(
"windSpeed"
,
listDatum
.
getValue
());
map
.
put
(
"power"
,
listDatum
.
getValueLabel
());
map
.
put
(
"power"
,
listDatum
.
getValueLabel
());
//获取风机状态如果获取到的状态为空-则默认为正常运行状态
//获取风机状态如果获取到的状态为空-则默认为正常运行状态
...
...
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