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
c3838953
Commit
c3838953
authored
Jul 11, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 优化设备状态统计逻辑并调整结果存储方式
parent
f33fa403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+8
-4
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
View file @
c3838953
...
...
@@ -965,7 +965,11 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
sum
.
put
(
"name"
,
"设备总数(台套)"
);
sum
.
put
(
"value"
,
totle
);
statics
.
add
(
sum
);
getEquipStatusStatic
(
boolMust
,
builder
,
statics
);
List
<
Map
<
String
,
Object
>>
equipStatusMap
=
new
ArrayList
<>();
getEquipStatusStatic
(
boolMust
,
builder
,
equipStatusMap
);
result
.
put
(
"inspectStatus"
,
equipStatusMap
);
if
(
ObjectUtils
.
isEmpty
(
filterParams
)
||
!
filterParams
.
containsKey
(
"EQU_LIST"
))
{
filterParams
=
new
JSONObject
();
JSONArray
jsonArray
=
new
JSONArray
();
...
...
@@ -1032,9 +1036,9 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
tyMap
.
put
(
"value"
,
ty
);
otherMap
.
put
(
"name"
,
"其他"
);
otherMap
.
put
(
"value"
,
other
);
statics
.
add
(
zyMap
);
statics
.
add
(
tyMap
);
statics
.
add
(
otherMap
);
statics
.
add
(
zyMap
);
statics
.
add
(
tyMap
);
statics
.
add
(
otherMap
);
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
}
...
...
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