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
823f85eb
Commit
823f85eb
authored
Mar 18, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
27559 大屏统计,总览-起重机械设备统计数字,查询陕西汉中的桥式起重机,查看监管码F4100-0000704/F4100-0000705两个设备详情,报网络错误
parent
a8a9e9d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+13
-11
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/DPSubServiceImpl.java
View file @
823f85eb
...
@@ -648,18 +648,20 @@ public class DPSubServiceImpl {
...
@@ -648,18 +648,20 @@ public class DPSubServiceImpl {
if
(!
ValidationUtil
.
isEmpty
(
value
)
&&
!
"null"
.
equals
(
value
))
{
if
(!
ValidationUtil
.
isEmpty
(
value
)
&&
!
"null"
.
equals
(
value
))
{
JSONObject
attachmentUploadDatasObj
=
new
JSONObject
();
JSONObject
attachmentUploadDatasObj
=
new
JSONObject
();
log
.
info
(
"附件数据:{}"
,
value
);
log
.
info
(
"附件数据:{}"
,
value
);
((
JSONArray
)
value
).
stream
().
forEach
(
y
->
{
if
(
value
instanceof
JSONArray
){
JSONObject
yObj
=
(
JSONObject
)
y
;
((
JSONArray
)
value
).
stream
().
forEach
(
y
->
{
if
(!
ValidationUtil
.
isEmpty
(
yObj
.
getString
(
"url"
)))
{
JSONObject
yObj
=
(
JSONObject
)
y
;
String
[]
str
=
yObj
.
getString
(
"url"
).
split
(
"\\."
);
if
(!
ValidationUtil
.
isEmpty
(
yObj
.
getString
(
"url"
)))
{
if
(
ValidationUtil
.
isEmpty
(
str
))
{
String
[]
str
=
yObj
.
getString
(
"url"
).
split
(
"\\."
);
yObj
.
put
(
"thumb"
,
yObj
.
getString
(
"url"
));
if
(
ValidationUtil
.
isEmpty
(
str
))
{
}
else
{
yObj
.
put
(
"thumb"
,
yObj
.
getString
(
"url"
));
MatinfoEnum
iconUrl
=
MatinfoEnum
.
getIconUrl
(
str
[
1
]);
}
else
{
yObj
.
put
(
"thumb"
,
ValidationUtil
.
isEmpty
(
iconUrl
)
?
yObj
.
getString
(
"url"
)
:
iconUrl
.
getIcon
());
MatinfoEnum
iconUrl
=
MatinfoEnum
.
getIconUrl
(
str
[
1
]);
yObj
.
put
(
"thumb"
,
ValidationUtil
.
isEmpty
(
iconUrl
)
?
yObj
.
getString
(
"url"
)
:
iconUrl
.
getIcon
());
}
}
}
}
}
);
}
);
}
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
String
accept
=
visualParams
.
getString
(
"accept"
);
String
accept
=
visualParams
.
getString
(
"accept"
);
String
label
=
visualParams
.
getString
(
"label"
);
String
label
=
visualParams
.
getString
(
"label"
);
...
...
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