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
e362a1cc
Commit
e362a1cc
authored
Feb 06, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加素材业务来源字段
parent
a6ff41fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
ContentCreativeController.java
...age/web/controller/content/ContentCreativeController.java
+2
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentCreativeController.java
View file @
e362a1cc
...
@@ -90,6 +90,7 @@ public class ContentCreativeController {
...
@@ -90,6 +90,7 @@ public class ContentCreativeController {
if
(
clerk
==
null
)
{
if
(
clerk
==
null
)
{
return
RestResponse
.
failure
(
"-1"
,
"导购不存在"
);
return
RestResponse
.
failure
(
"-1"
,
"导购不存在"
);
}
}
Long
clerkTaskPlanId
=
saveQO
.
getClerkTaskPlanId
()
;
//组装导购发布人信息
//组装导购发布人信息
ContentProducerClerkRandomQDTO
producerQDTO
=
new
ContentProducerClerkRandomQDTO
();
ContentProducerClerkRandomQDTO
producerQDTO
=
new
ContentProducerClerkRandomQDTO
();
producerQDTO
.
setProducerType
(
MaterialProducerTypeEnum
.
CLERK
.
value
);
producerQDTO
.
setProducerType
(
MaterialProducerTypeEnum
.
CLERK
.
value
);
...
@@ -112,11 +113,11 @@ public class ContentCreativeController {
...
@@ -112,11 +113,11 @@ public class ContentCreativeController {
contentMaterialQDTO
.
setMaterialPurpose
(
MaterialPurposeEnum
.
AUDIT
.
code
);
contentMaterialQDTO
.
setMaterialPurpose
(
MaterialPurposeEnum
.
AUDIT
.
code
);
contentMaterialQDTO
.
setPublishType
(
MaterialPublishTypeEnum
.
NONE
.
value
);
contentMaterialQDTO
.
setPublishType
(
MaterialPublishTypeEnum
.
NONE
.
value
);
contentMaterialQDTO
.
setShelfStatus
(
Constant
.
FLAG_TRUE
);
contentMaterialQDTO
.
setShelfStatus
(
Constant
.
FLAG_TRUE
);
contentMaterialQDTO
.
setMaterialBusiSource
(
clerkTaskPlanId
!=
null
?
MaterialBusiSourceEnum
.
CLERK_TASK
.
code
:
MaterialBusiSourceEnum
.
ACTIVE
.
code
);
ServiceResponse
<
ContentMaterialDTO
>
response
=
contentMaterialApiService
.
saveMaterial
(
contentMaterialQDTO
);
ServiceResponse
<
ContentMaterialDTO
>
response
=
contentMaterialApiService
.
saveMaterial
(
contentMaterialQDTO
);
if
(!
response
.
isSuccess
())
{
if
(!
response
.
isSuccess
())
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
}
}
Long
clerkTaskPlanId
=
saveQO
.
getClerkTaskPlanId
()
;
if
(
null
!=
clerkTaskPlanId
)
{
if
(
null
!=
clerkTaskPlanId
)
{
ClerkTaskContentLogDTO
dto
=
new
ClerkTaskContentLogDTO
()
;
ClerkTaskContentLogDTO
dto
=
new
ClerkTaskContentLogDTO
()
;
dto
.
setPlanId
(
clerkTaskPlanId
);
dto
.
setPlanId
(
clerkTaskPlanId
);
...
...
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