Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
ef9d2162
Commit
ef9d2162
authored
Apr 02, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内容素材
parent
b16b40e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
MaterialApiService.java
...com/gic/haoban/manage/api/service/MaterialApiService.java
+2
-0
MaterialApiServiceImpl.java
...nage/service/service/out/impl/MaterialApiServiceImpl.java
+9
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/MaterialApiService.java
View file @
ef9d2162
...
@@ -32,6 +32,8 @@ public interface MaterialApiService {
...
@@ -32,6 +32,8 @@ public interface MaterialApiService {
List
<
MaterialDTO
>
listContentMaterialByIds
(
List
<
String
>
materialIds
);
List
<
MaterialDTO
>
listContentMaterialByIds
(
List
<
String
>
materialIds
);
List
<
MaterialDTO
>
listMaterialByIds
(
List
<
String
>
materialIds
,
Integer
materialFrom
);
void
editMaterial
(
MaterialDTO
materialDTO
);
void
editMaterial
(
MaterialDTO
materialDTO
);
Page
<
MaterialDTO
>
listMaterial
(
String
wxEnterpriseId
,
String
keyword
,
String
categoryId
,
Integer
materialType
,
BasePageInfo
pageInfo
);
Page
<
MaterialDTO
>
listMaterial
(
String
wxEnterpriseId
,
String
keyword
,
String
categoryId
,
Integer
materialType
,
BasePageInfo
pageInfo
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MaterialApiServiceImpl.java
View file @
ef9d2162
...
@@ -181,6 +181,15 @@ public class MaterialApiServiceImpl implements MaterialApiService {
...
@@ -181,6 +181,15 @@ public class MaterialApiServiceImpl implements MaterialApiService {
}
}
@Override
@Override
public
List
<
MaterialDTO
>
listMaterialByIds
(
List
<
String
>
materialIds
,
Integer
materialFrom
)
{
if
(
materialFrom
==
null
||
materialFrom
==
1
)
{
return
materialService
.
listMaterialByIds
(
materialIds
);
}
else
{
return
materialService
.
listContentMaterialByIds
(
materialIds
,
1
);
}
}
@Override
public
void
editMaterial
(
MaterialDTO
materialDTO
)
{
public
void
editMaterial
(
MaterialDTO
materialDTO
)
{
Integer
type
=
materialDTO
.
getMaterialType
();
Integer
type
=
materialDTO
.
getMaterialType
();
String
materialId
=
materialDTO
.
getMaterialId
();
String
materialId
=
materialDTO
.
getMaterialId
();
...
...
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