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
586b0352
Commit
586b0352
authored
Jul 02, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 优化设备类型处理逻辑
parent
3bb3bbd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+4
-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 @
586b0352
...
...
@@ -335,13 +335,13 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
if
(
dto
.
containsKey
(
"identification"
))
{
dto
.
put
(
"identification"
,
JSONObject
.
parseObject
(
JSONObject
.
parseArray
(
dto
.
get
(
"identification"
).
toString
()).
get
(
0
).
toString
()).
get
(
"url"
));
}
if
(
dto
.
containsKey
(
"equipType"
)){
if
(
dto
.
containsKey
(
"equipType"
))
{
String
[]
equipCodes
=
dto
.
get
(
"equipType"
).
toString
().
split
(
","
);
List
<
String
>
equipTypes
=
new
ArrayList
<>
();
StringBuilder
equipTypes
=
new
StringBuilder
();
for
(
String
equipType
:
equipCodes
)
{
equipTypes
.
a
dd
(
EquipmentClassifityEnum
.
getNameByCode
(
equipType
)
);
equipTypes
.
a
ppend
(
EquipmentClassifityEnum
.
getNameByCode
(
equipType
)
+
","
);
}
dto
.
put
(
"equipType"
,
equipTypes
.
toString
().
replace
(
"["
,
""
).
replace
(
"]"
,
""
));
dto
.
put
(
"equipType"
,
equipTypes
.
substring
(
0
,
equipTypes
.
length
()
-
1
));
}
list
.
add
(
dto
);
}
...
...
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