Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
fmboot
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
d11999c3
由
张雷
编写于
2023-08-29 11:10:58 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
奥体项目接口修改
1 个父辈
d1036995
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
7 行删除
fm-product/src/main/java/com/skua/modules/business/entity/WhatStructData.java
fm-product/src/main/java/com/skua/modules/business/service/impl/OlympicCenterServiceImpl.java
fm-product/src/main/java/com/skua/modules/business/entity/WhatStructData.java
查看文件 @
d11999c
...
...
@@ -38,6 +38,9 @@ public class WhatStructData {
/**点表ID*/
@ApiModelProperty
(
value
=
"点表ID"
)
private
String
monitorId
;
/**点名称*/
@ApiModelProperty
(
value
=
"点名称"
)
private
String
monitorName
;
/**点类型*/
@ApiModelProperty
(
value
=
"点类型"
)
private
String
monitorType
;
...
...
fm-product/src/main/java/com/skua/modules/business/service/impl/OlympicCenterServiceImpl.java
查看文件 @
d11999c
...
...
@@ -1339,7 +1339,7 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
for
(
WhatStructData
whatStructData:
flowList
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
whatStructData
.
getId
());
map
.
put
(
"name"
,
whatStructData
.
get
Id
());
map
.
put
(
"name"
,
whatStructData
.
get
MonitorName
());
map
.
put
(
"time"
,
""
);
map
.
put
(
"flow"
,
""
);
map
.
put
(
"flow_ljll"
,
""
);
...
...
@@ -1364,7 +1364,7 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
for
(
WhatStructData
whatStructData:
wList
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
whatStructData
.
getId
());
map
.
put
(
"name"
,
whatStructData
.
get
Id
());
map
.
put
(
"name"
,
whatStructData
.
get
MonitorName
());
map
.
put
(
"time"
,
""
);
map
.
put
(
"value"
,
""
);
for
(
Map
<
String
,
Object
>
mMap
:
monitorList
)
{
...
...
@@ -1383,7 +1383,7 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
for
(
WhatStructData
whatStructData:
wList
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
whatStructData
.
getId
());
map
.
put
(
"name"
,
whatStructData
.
get
Id
());
map
.
put
(
"name"
,
whatStructData
.
get
MonitorName
());
map
.
put
(
"time"
,
""
);
map
.
put
(
"value"
,
""
);
list
.
add
(
map
);
...
...
@@ -1472,12 +1472,13 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
List
<
Map
<
String
,
Object
>>
list1
=
new
ArrayList
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
whatStructData
.
getEquipCode
());
map
.
put
(
"name"
,
whatStructData
.
get
EquipCod
e
());
map
.
put
(
"name"
,
whatStructData
.
get
MonitorNam
e
());
String
equipCode
=
whatStructData
.
getEquipCode
();
for
(
WhatStructData
whatStructData1
:
equipList
)
{
if
(
equipCode
.
equals
(
whatStructData1
.
getEquipCode
())){
Map
<
String
,
Object
>
statusMap
=
new
HashMap
<>();
statusMap
.
put
(
"name"
,
whatStructData1
.
getId
());
statusMap
.
put
(
"id"
,
whatStructData1
.
getId
());
statusMap
.
put
(
"name"
,
whatStructData1
.
getMonitorName
());
if
(
whatStructData1
.
getMonitorId
()!=
null
){
statusMap
.
put
(
"monitorid"
,
whatStructData1
.
getMonitorId
());
}
else
{
...
...
@@ -1876,12 +1877,12 @@ public class OlympicCenterServiceImpl implements IOlympicCenterService {
String
bpName
=
pumpId
+
"_BP"
;
String
gpName
=
pumpId
+
"_GP"
;
for
(
Map
<
String
,
Object
>
bean
:
list
)
{
if
(
bpName
.
equals
(
bean
.
get
(
"
name
"
))){
if
(
bpName
.
equals
(
bean
.
get
(
"
id
"
))){
if
(
"1"
.
equals
(
map
.
get
(
bean
.
get
(
"monitorid"
).
toString
()))){
status
=
"变频运行"
;
}
}
if
(
gpName
.
equals
(
bean
.
get
(
"
name
"
))){
if
(
gpName
.
equals
(
bean
.
get
(
"
id
"
))){
if
(
"1"
.
equals
(
map
.
get
(
bean
.
get
(
"monitorid"
).
toString
()))){
status
=
"工频运行"
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论