Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
739d901e
Commit
739d901e
authored
Mar 30, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
5d41d408
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
ExhibitionBoardController.java
...useum/party/web/controller/ExhibitionBoardController.java
+12
-1
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardController.java
View file @
739d901e
...
@@ -316,10 +316,21 @@ public class ExhibitionBoardController extends BaseController {
...
@@ -316,10 +316,21 @@ public class ExhibitionBoardController extends BaseController {
exhibitionBoard
.
setBoardCopyrightOwnerName
(
this
.
copyrightOwnerService
.
getById
(
boardCopyrightOwnerId
).
getName
());
exhibitionBoard
.
setBoardCopyrightOwnerName
(
this
.
copyrightOwnerService
.
getById
(
boardCopyrightOwnerId
).
getName
());
}
}
final
String
guideAudioUrl
=
exhibitionBoard
.
getGuideAudioUrl
();
final
List
<
AudioVo
>
audioVoList
=
JSONObject
.
parseObject
(
guideAudioUrl
,
new
TypeReference
<
List
<
AudioVo
>>()
{
},
Feature
.
OrderedField
);
exhibitionBoard
.
setAudioUrlList
(
audioVoList
.
stream
().
map
(
AudioVo:
:
getFileUrl
).
collect
(
Collectors
.
toList
()));
final
String
refMaterialUrl
=
exhibitionBoard
.
getRefMaterialUrl
();
final
List
<
AudioVo
>
refMaterialVoList
=
JSONObject
.
parseObject
(
refMaterialUrl
,
new
TypeReference
<
List
<
AudioVo
>>()
{
},
Feature
.
OrderedField
);
exhibitionBoard
.
setMaterialUrlList
(
refMaterialVoList
.
stream
().
map
(
AudioVo:
:
getFileUrl
).
collect
(
Collectors
.
toList
()));
final
String
assetId
=
exhibitionBoard
.
getAssetId
();
final
String
assetId
=
exhibitionBoard
.
getAssetId
();
final
Asset
asset
=
this
.
assetService
.
getById
(
assetId
);
final
Asset
asset
=
this
.
assetService
.
getById
(
assetId
);
final
String
videoUrl
=
asset
.
getVideoUrl
();
final
String
videoUrl
=
asset
.
getVideoUrl
();
final
List
<
VideoVo
>
videoVoList
=
JSONObject
.
parseObject
(
videoUrl
,
new
TypeReference
<
List
<
VideoVo
>>()
{},
Feature
.
OrderedField
);
final
List
<
VideoVo
>
videoVoList
=
JSONObject
.
parseObject
(
videoUrl
,
new
TypeReference
<
List
<
VideoVo
>>()
{
},
Feature
.
OrderedField
);
exhibitionBoard
.
setVideoUrlList
(
videoVoList
.
stream
().
map
(
VideoVo:
:
getFileUrl
).
collect
(
Collectors
.
toList
()));
exhibitionBoard
.
setVideoUrlList
(
videoVoList
.
stream
().
map
(
VideoVo:
:
getFileUrl
).
collect
(
Collectors
.
toList
()));
return
getResult
(
exhibitionBoard
);
return
getResult
(
exhibitionBoard
);
}
}
...
...
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