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
9ab8ebb9
Commit
9ab8ebb9
authored
Oct 13, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改拓扑物联信息
parent
40f4868a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
+23
-20
FireFightingSystemController.java
.../equipmanage/controller/FireFightingSystemController.java
+23
-20
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/FireFightingSystemController.java
View file @
9ab8ebb9
...
@@ -247,28 +247,31 @@ public class FireFightingSystemController extends AbstractBaseController {
...
@@ -247,28 +247,31 @@ public class FireFightingSystemController extends AbstractBaseController {
List
<
EquProperty
>
properALlList
=
new
ArrayList
<>();
List
<
EquProperty
>
properALlList
=
new
ArrayList
<>();
List
<
String
>
list
=
equipmentIndexService
.
getGruopName
(
equipmentId
);
List
<
String
>
list
=
equipmentIndexService
.
getGruopName
(
equipmentId
);
list
.
forEach
(
x
->
{
list
.
forEach
(
x
->
{
QueryWrapper
<
EquipmentIndex
>
wrapper
=
new
QueryWrapper
<>();
if
(!
""
.
equals
(
x
))
{
wrapper
.
eq
(
"equipment_id"
,
equipmentId
);
QueryWrapper
<
EquipmentIndex
>
wrapper
=
new
QueryWrapper
<>();
wrapper
.
eq
(
"group_name"
,
x
);
wrapper
.
eq
(
"equipment_id"
,
equipmentId
);
wrapper
.
orderByAsc
(
"sort_num"
);
wrapper
.
eq
(
"group_name"
,
x
);
List
<
EquProperty
>
properList
=
new
ArrayList
<>();
wrapper
.
orderByAsc
(
"sort_num"
);
equipmentIndexService
.
list
(
wrapper
).
forEach
(
y
->
{
List
<
EquProperty
>
properList
=
new
ArrayList
<>();
EquProperty
equProperty
=
new
EquProperty
();
equipmentIndexService
.
list
(
wrapper
).
forEach
(
y
->
{
equProperty
.
setEquipmentIndexId
(
y
.
getId
());
EquProperty
equProperty
=
new
EquProperty
();
equProperty
.
setIsIot
(
y
.
getIsIot
());
equProperty
.
setEquipmentIndexId
(
y
.
getId
());
equProperty
.
setPerfQuotaName
(
y
.
getPerfQuotaName
());
equProperty
.
setIsIot
(
y
.
getIsIot
());
equProperty
.
setEquipmentIndexName
(
y
.
getPerfQuotaName
());
equProperty
.
setPerfQuotaName
(
y
.
getPerfQuotaName
());
equProperty
.
setGroupName
(
y
.
getGroupName
());
equProperty
.
setEquipmentIndexName
(
y
.
getPerfQuotaName
());
equProperty
.
setValue
(
y
.
getPerfValue
());
equProperty
.
setGroupName
(
y
.
getGroupName
());
equProperty
.
setUnitName
(
y
.
getUnitName
());
equProperty
.
setValue
(
y
.
getPerfValue
());
equProperty
.
setEquipmentIndexKey
(
y
.
getPerfQuotaDefinitionId
());
equProperty
.
setUnitName
(
y
.
getUnitName
());
properList
.
add
(
equProperty
);
equProperty
.
setEquipmentIndexKey
(
y
.
getPerfQuotaDefinitionId
());
});
properList
.
add
(
equProperty
);
properALlList
.
addAll
(
properList
);
});
map
.
put
(
x
,
properList
);
properALlList
.
addAll
(
properList
);
map
.
put
(
x
,
properList
);
}
});
});
QueryWrapper
<
EquipmentIndex
>
wrappernull
=
new
QueryWrapper
<>();
QueryWrapper
<
EquipmentIndex
>
wrappernull
=
new
QueryWrapper
<>();
wrappernull
.
isNull
(
"group_name"
).
or
().
eq
(
"group_name"
,
"
"
);
wrappernull
.
isNull
(
"group_name"
).
or
().
eq
(
"group_name"
,
""
);
wrappernull
.
eq
(
"equipment_id"
,
equipmentId
);
wrappernull
.
eq
(
"equipment_id"
,
equipmentId
);
wrappernull
.
orderByAsc
(
"sort_num"
);
wrappernull
.
orderByAsc
(
"sort_num"
);
List
<
EquProperty
>
properList
=
new
ArrayList
<>();
List
<
EquProperty
>
properList
=
new
ArrayList
<>();
...
...
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