Skip to content

Commit

Permalink
Merge 4200d3d into f6a6794
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai1995 authored Sep 15, 2023
2 parents f6a6794 + 4200d3d commit 0212212
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public class ProcessAlertContent implements Serializable {
private Date taskEndTime;
@JsonProperty("taskHost")
private String taskHost;
@JsonProperty("taskPriority")
private String taskPriority;
@JsonProperty("logPath")
private String logPath;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public class TaskAlertContent implements Serializable {
private Date endTime;
@JsonProperty("host")
private String host;
@JsonProperty("taskPriority")
private String taskPriority;
@JsonProperty("logPath")
private String logPath;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public String getContentProcessInstance(ProcessInstance processInstance,
.taskStartTime(task.getStartTime())
.taskEndTime(task.getEndTime())
.taskHost(task.getHost())
.taskPriority(task.getTaskInstancePriority().getDescp())
.logPath(task.getLogPath())
.build();
failedTaskList.add(processAlertContent);
Expand Down Expand Up @@ -173,6 +174,7 @@ private String getWorkerToleranceContent(ProcessInstance processInstance, List<T
.taskCode(taskInstance.getTaskCode())
.taskName(taskInstance.getName())
.taskHost(taskInstance.getHost())
.taskPriority(taskInstance.getTaskInstancePriority().getDescp())
.retryTimes(taskInstance.getRetryTimes())
.build();
toleranceTaskInstanceList.add(processAlertContent);
Expand Down Expand Up @@ -387,6 +389,7 @@ public String getTaskAlterContent(TaskInstance taskInstance) {
.startTime(taskInstance.getStartTime())
.endTime(taskInstance.getEndTime())
.host(taskInstance.getHost())
.taskPriority(taskInstance.getTaskInstancePriority().getDescp())
.logPath(taskInstance.getLogPath())
.build();

Expand Down

0 comments on commit 0212212

Please sign in to comment.