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
fe47fbe7
Commit
fe47fbe7
authored
Jan 03, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
画布
parent
015070bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ContentMaterialController.java
...age/web/controller/content/ContentMaterialController.java
+4
-0
ContentMaterialShareQO.java
.../haoban/manage/web/qo/content/ContentMaterialShareQO.java
+3
-3
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentMaterialController.java
View file @
fe47fbe7
...
...
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
import
com.gic.api.base.commons.BasePageInfo
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.commons.util.DateUtil
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.content.api.dto.column.ContentColumnListDTO
;
import
com.gic.content.api.dto.material.ContentMaterialDTO
;
...
...
@@ -244,6 +245,9 @@ public class ContentMaterialController {
}
ContentMaterialShareQDTO
contentMaterialShareQDTO
=
new
ContentMaterialShareQDTO
();
BeanUtils
.
copyProperties
(
contentMaterialShareQO
,
contentMaterialShareQDTO
);
if
(
null
!=
contentMaterialShareQO
.
getMarketingTime
())
{
contentMaterialShareQDTO
.
setMarketingTime
(
DateUtil
.
strToDate
(
contentMaterialShareQO
.
getMarketingTime
(),
"yyyy-MM-dd HH:mm:ss"
));
}
ServiceResponse
<
ContentMaterialShareInfoDTO
>
serviceResponse
=
contentMaterialShareApiService
.
shareContentMaterial
(
contentMaterialShareQDTO
);
if
(!
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/ContentMaterialShareQO.java
View file @
fe47fbe7
...
...
@@ -63,7 +63,7 @@ public class ContentMaterialShareQO implements Serializable {
// 节点id
private
Long
nodeId
;
// 营销时间(任务创建时间)
private
Date
marketingTime
;
private
String
marketingTime
;
public
Long
getCanvasId
()
{
return
canvasId
;
...
...
@@ -81,11 +81,11 @@ public class ContentMaterialShareQO implements Serializable {
this
.
nodeId
=
nodeId
;
}
public
Date
getMarketingTime
()
{
public
String
getMarketingTime
()
{
return
marketingTime
;
}
public
void
setMarketingTime
(
Date
marketingTime
)
{
public
void
setMarketingTime
(
String
marketingTime
)
{
this
.
marketingTime
=
marketingTime
;
}
...
...
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