xiangpei
2025-04-07 80662b34fe93b4ede00c7fc03fbd9f01355c94e2
business/src/main/java/com/ycl/event/event/TaskLogEvent.java
@@ -26,7 +26,7 @@
    /**
     * 项目id
     */
    private Long projectId;
    private String projectId;
    /**
     * 流程实例id
@@ -37,6 +37,16 @@
     * 任务id
     */
    private String taskId;
    /**
     * 任务key
     */
    private String taskDefKey;
    /**
     * 任务名
     */
    private String taskName;
    /**
     * 事件类型
@@ -58,7 +68,7 @@
     * @param taskId 任务id
     * @param otherData 其它数据
     */
    public TaskLogEvent(Object source,Long id,Long userId, Long projectId, String processInsId, String taskId, ProcessLogEventTypeEnum eventType, Object otherData) {
    public TaskLogEvent(Object source,Long id,Long userId, String projectId, String processInsId, String taskId, String taskDefKey, String taskName,ProcessLogEventTypeEnum eventType, Object otherData) {
        super(source);
        this.id = id;
        this.userId = userId;
@@ -66,6 +76,8 @@
        this.processInsId = processInsId;
        this.eventType = eventType;
        this.taskId = taskId;
        this.taskDefKey = taskDefKey;
        this.taskName = taskName;
        this.otherData = otherData;
    }
}