Commit fe47fbe7 by 徐高华

画布

parent 015070bf
......@@ -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());
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment