Commit ad2eb0c8 by huangfusuper

发送邮件时对节点数目进行校验,避免发送邮件节点缺失

parent bd4ed3d7
......@@ -71,7 +71,7 @@ public class RunRecordingAndEmailServiceImpl implements RunRecordingAndEmailServ
public void saveEmailAndRunRecording(RunRecording runRecording) {
//这一步是根据flowId和RunId查询对应的节点信息
List<JobTaskRunLogWithBLOBs> jobTaskRunLogByFlowIdAndRunId = jobTaskRunLogService.findJobTaskRunLogWithBLOBsByFlowIdAndRunId(runRecording.getFlowId(), runRecording.getRunId());
if (CollectionUtil.isNotEmpty(jobTaskRunLogByFlowIdAndRunId)) {
if (runRecording.getFlowNodeCount() == jobTaskRunLogByFlowIdAndRunId.size()) {
String flowName = runRecording.getFlowName();
//String senContentHtml = runMsgHtml(jobTaskRunLogByFlowIdAndRunId, flowName)
Integer workspaceId = runRecording.getWorkspaceId();
......
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