|
|
@ -222,4 +222,40 @@ public class MessageVo { |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.Deliverable.value,deliverName)); |
|
|
|
return inform; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 删除输入文档 |
|
|
|
* @param userId |
|
|
|
* @param userName |
|
|
|
* @param projectId |
|
|
|
* @param projectName |
|
|
|
* @param taskName |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static Inform delDocComment(Long userId, String userName, Long projectId, String projectName, String taskName,String deliverName) { |
|
|
|
MessageVo.Inform inform = new MessageVo.Inform(projectId, userId); |
|
|
|
inform.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.Operator.value, userName)) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.ProjectName.value, projectName, WebConstant.Message.TYPE_LINK, Message.getProjectSettings(projectId))) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.TaskName.value,taskName)) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.Deliverable.value,deliverName)); |
|
|
|
return inform; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 修改输入文档 |
|
|
|
* @param userId |
|
|
|
* @param userName |
|
|
|
* @param projectId |
|
|
|
* @param projectName |
|
|
|
* @param taskName |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static Inform updateDocRemarkComment(Long userId, String userName, Long projectId, String projectName, String taskName,String deliverName) { |
|
|
|
MessageVo.Inform inform = new MessageVo.Inform(projectId, userId); |
|
|
|
inform.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.Operator.value, userName)) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.ProjectName.value, projectName, WebConstant.Message.TYPE_LINK, Message.getProjectSettings(projectId))) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.TaskName.value,taskName)) |
|
|
|
.appendMessage(new MessageVo.Message(WebConstant.TemplateParam.Deliverable.value,deliverName)); |
|
|
|
return inform; |
|
|
|
} |
|
|
|
} |
|
|
|