Commit db99071d by 谢海旭

v5.6.0版本 策略中心

1 parent a3d6b4cb
package cn.com.glsx.dj.mindworkplate.dto.messagebox;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @Title:
......@@ -28,6 +30,13 @@ public class PmbEnterpriseDetailDTO implements Serializable {
private String title;
/**
* 消息推送时间
*/
@ApiModelProperty(notes = "消息推送时间 yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date time;
/**
* 副标题
*/
@ApiModelProperty(notes = "副标题")
......
......@@ -33,6 +33,7 @@ public class TaskTypeDetailHandler implements ModuleTypeDetailHandler {
PmbEnterpriseDetailDTO detail = new PmbEnterpriseDetailDTO();
detail.setId(strategyInfo.getId());
detail.setTitle(strategyInfo.getTitle());
detail.setTime(padMessageBox.getCreatedTime());
detail.setSubtitle(strategyInfo.getSubTitle());
detail.setContent(strategyInfo.getContent());
detail.setContentType((byte) 1);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!