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
f327aed7
Commit
f327aed7
authored
Jun 25, 2021
by
nie'hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改-展板参考资料备选中除去音频导览资料
parent
f7229779
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
AssetController.java
...va/cn/chnmuseum/party/web/controller/AssetController.java
+4
-0
No files found.
src/main/java/cn/chnmuseum/party/web/controller/AssetController.java
View file @
f327aed7
package
cn
.
chnmuseum
.
party
.
web
.
controller
;
package
cn
.
chnmuseum
.
party
.
web
.
controller
;
import
cn.chnmuseum.party.common.dfs.FastDFSUtils
;
import
cn.chnmuseum.party.common.dfs.FastDFSUtils
;
import
cn.chnmuseum.party.common.enums.FileCatEnum
;
import
cn.chnmuseum.party.common.log.MethodLog
;
import
cn.chnmuseum.party.common.log.MethodLog
;
import
cn.chnmuseum.party.common.log.OperModule
;
import
cn.chnmuseum.party.common.log.OperModule
;
import
cn.chnmuseum.party.common.log.OperType
;
import
cn.chnmuseum.party.common.log.OperType
;
...
@@ -45,6 +46,8 @@ import java.util.LinkedHashMap;
...
@@ -45,6 +46,8 @@ import java.util.LinkedHashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
static
cn
.
chnmuseum
.
party
.
common
.
enums
.
FileCatEnum
.
EXHIBITION_BOARD_DATUM
;
/**
/**
* <pre>
* <pre>
* 文件资产 前端控制器
* 文件资产 前端控制器
...
@@ -173,6 +176,7 @@ public class AssetController extends BaseController {
...
@@ -173,6 +176,7 @@ public class AssetController extends BaseController {
public
Map
<
String
,
Object
>
getAssetByBoard
(
@RequestParam
(
value
=
"boardList"
,
required
=
true
)
List
<
String
>
boardList
){
public
Map
<
String
,
Object
>
getAssetByBoard
(
@RequestParam
(
value
=
"boardList"
,
required
=
true
)
List
<
String
>
boardList
){
LambdaQueryWrapper
<
Asset
>
assetLambdaQueryWrapper
=
Wrappers
.<
Asset
>
lambdaQuery
();
LambdaQueryWrapper
<
Asset
>
assetLambdaQueryWrapper
=
Wrappers
.<
Asset
>
lambdaQuery
();
assetLambdaQueryWrapper
.
in
(
Asset:
:
getRefItemId
,
boardList
);
assetLambdaQueryWrapper
.
in
(
Asset:
:
getRefItemId
,
boardList
);
assetLambdaQueryWrapper
.
eq
(
Asset:
:
getFileCat
,
FileCatEnum
.
EXHIBITION_BOARD_DATUM
.
getCat
());
List
<
Asset
>
list
=
this
.
assetService
.
list
(
assetLambdaQueryWrapper
);
List
<
Asset
>
list
=
this
.
assetService
.
list
(
assetLambdaQueryWrapper
);
List
<
AssetVo
>
assetVos
=
new
ArrayList
<>();
List
<
AssetVo
>
assetVos
=
new
ArrayList
<>();
for
(
Asset
asset
:
list
)
{
for
(
Asset
asset
:
list
)
{
...
...
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