wlzboy
2025-10-25 fefb649f462ae6b19dd8f0f6bc6096619db9a82e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.ruoyi.system.event;
 
import java.util.List;
 
/**
 * 任务状态变更事件
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public class TaskStatusChangedEvent extends TaskEvent {
    
    private static final long serialVersionUID = 1L;
    
    /** 旧状态 */
    private String oldStatus;
    
    /** 新状态 */
    private String newStatus;
    
    /** 旧状态描述 */
    private String oldStatusDesc;
    
    /** 新状态描述 */
    private String newStatusDesc;
    
    /** 执行人ID列表 */
    private List<Long> assigneeIds;
    
    /** 创建人ID */
    private Long creatorId;
 
    public TaskStatusChangedEvent(Object source, Long taskId, String taskCode,
                                 String oldStatus, String newStatus,
                                 String oldStatusDesc, String newStatusDesc,
                                 List<Long> assigneeIds, Long creatorId) {
        super(source, taskId, taskCode);
        this.oldStatus = oldStatus;
        this.newStatus = newStatus;
        this.oldStatusDesc = oldStatusDesc;
        this.newStatusDesc = newStatusDesc;
        this.assigneeIds = assigneeIds;
        this.creatorId = creatorId;
    }
 
    public String getOldStatus() {
        return oldStatus;
    }
 
    public void setOldStatus(String oldStatus) {
        this.oldStatus = oldStatus;
    }
 
    public String getNewStatus() {
        return newStatus;
    }
 
    public void setNewStatus(String newStatus) {
        this.newStatus = newStatus;
    }
 
    public String getOldStatusDesc() {
        return oldStatusDesc;
    }
 
    public void setOldStatusDesc(String oldStatusDesc) {
        this.oldStatusDesc = oldStatusDesc;
    }
 
    public String getNewStatusDesc() {
        return newStatusDesc;
    }
 
    public void setNewStatusDesc(String newStatusDesc) {
        this.newStatusDesc = newStatusDesc;
    }
 
    public List<Long> getAssigneeIds() {
        return assigneeIds;
    }
 
    public void setAssigneeIds(List<Long> assigneeIds) {
        this.assigneeIds = assigneeIds;
    }
 
    public Long getCreatorId() {
        return creatorId;
    }
 
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }
}