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
1aae09bb
Commit
1aae09bb
authored
Apr 06, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 3562 --t添加隐患详情复查图片
parent
a79e3731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
LatentDangerServiceImpl.java
...danger/business/service/impl/LatentDangerServiceImpl.java
+22
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/service/impl/LatentDangerServiceImpl.java
View file @
1aae09bb
...
...
@@ -707,7 +707,28 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
}
}
if
(!
StringUtils
.
isEmpty
(
latentDanger
.
getReformJson
()))
{
detailVo
.
setReformJson
(
latentDanger
.
getReformJson
());
JSONObject
reformJsonObject
=
latentDanger
.
getReformJson
();
LatentDangerFlowRecordBo
doBo
=
latentDangerFlowRecordMapper
.
getByDangerIdAndActionFlag
(
latentDanger
.
getId
(),
"governLeaderReviewConfirm"
);
if
(
doBo
!=
null
)
{
String
flowJsonString
=
doBo
.
getFlowJson
();
JSONObject
flowJsonObject
=
JSONObject
.
parseObject
(
flowJsonString
);
JSONArray
picturesArray
=
flowJsonObject
.
getJSONArray
(
"pictures"
);
JSONArray
jsonArray
=
new
JSONArray
();
picturesArray
.
stream
().
forEach
(
i
->{
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"url"
,
i
);
jsonObject
.
put
(
"name"
,
""
);
jsonObject
.
put
(
"type"
,
"image"
);
jsonArray
.
add
(
jsonObject
);
});
reformJsonObject
.
put
(
"reviewImages"
,
jsonArray
);
}
else
{
reformJsonObject
.
put
(
"reviewImages"
,
null
);
}
detailVo
.
setReformJson
(
reformJsonObject
);
}
if
(!
StringUtils
.
isEmpty
(
latentDanger
.
getPhotoUrls
()))
{
List
<
String
>
photoUrls
=
Lists
.
newArrayList
(
latentDanger
.
getPhotoUrls
().
split
(
","
));
...
...
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