Commit 376cdd87 by huangfusuper

调整邮件没有节点的BUG

parent 0ad1da57
...@@ -71,6 +71,7 @@ public class RunRecordingAndEmailServiceImpl implements RunRecordingAndEmailServ ...@@ -71,6 +71,7 @@ public class RunRecordingAndEmailServiceImpl implements RunRecordingAndEmailServ
public void saveEmailAndRunRecording(RunRecording runRecording) { public void saveEmailAndRunRecording(RunRecording runRecording) {
//这一步是根据flowId和RunId查询对应的节点信息 //这一步是根据flowId和RunId查询对应的节点信息
List<JobTaskRunLogWithBLOBs> jobTaskRunLogByFlowIdAndRunId = jobTaskRunLogService.findJobTaskRunLogWithBLOBsByFlowIdAndRunId(runRecording.getFlowId(), runRecording.getRunId()); List<JobTaskRunLogWithBLOBs> jobTaskRunLogByFlowIdAndRunId = jobTaskRunLogService.findJobTaskRunLogWithBLOBsByFlowIdAndRunId(runRecording.getFlowId(), runRecording.getRunId());
if (CollectionUtil.isNotEmpty(jobTaskRunLogByFlowIdAndRunId)) {
String flowName = runRecording.getFlowName(); String flowName = runRecording.getFlowName();
//String senContentHtml = runMsgHtml(jobTaskRunLogByFlowIdAndRunId, flowName) //String senContentHtml = runMsgHtml(jobTaskRunLogByFlowIdAndRunId, flowName)
Integer workspaceId = runRecording.getWorkspaceId(); Integer workspaceId = runRecording.getWorkspaceId();
...@@ -101,6 +102,8 @@ public class RunRecordingAndEmailServiceImpl implements RunRecordingAndEmailServ ...@@ -101,6 +102,8 @@ public class RunRecordingAndEmailServiceImpl implements RunRecordingAndEmailServ
runRecordingService.updateRunRecordingById(runRecording); runRecordingService.updateRunRecordingById(runRecording);
} }
}
/** /**
* 根据模板引擎构建html代码 * 根据模板引擎构建html代码
* @param title * @param title
......
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