<%@ page contentType="text/html;charset=UTF-8"%> <%@page import="com.blueland.bpm.engine.core.model.*,org.activiti.engine.task.Comment,org.apache.commons.lang3.StringUtils,com.blueland.bpm.common.util.DateUtil,java.util.*"%> <%@ include file="/commons/taglibs.jsp"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> <%@ include file="/commons/meta.jsp"%> 更新流程审批意见
<% List processComments = (List) request .getAttribute("processComments"); %> <% if (processComments != null && !processComments.isEmpty()) { %> <% } %>
<% try { for (ProcessLogModel processComment : processComments) { Comment comment = processComment.getComment(); String fullMessage = comment.getFullMessage(); fullMessage = !StringUtils.isEmpty(fullMessage) ? fullMessage .replaceAll("\r\n", "
") : fullMessage; %>
<%=fullMessage%>

修改意见为:


<%=processComment.getHistoricTaskInstance() .getName()%>:<%=processComment.getSendUserName()%> (<%=DateUtil.convertDateToString( "yyyy-MM-dd HH:mm:ss", comment.getTime())%>)          删除意见

<% } } catch (Exception e) { e.printStackTrace(); } %> <% if (processComments == null || processComments.isEmpty()) { %>
该流程暂无审批意见!
<% } %>