wlzboy
6 天以前 09e6dc3fb7266620fafb5e341808a8eb36e080a1
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.ruoyi.system.event;
 
import lombok.Data;
 
import java.math.BigDecimal;
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;
 
    private Double longitude;
 
    /** 纬度 */
    private Double latitude;
 
    private String address;
 
    public TaskStatusChangedEvent(Object source, Long taskId, String taskCode,
                                 String oldStatus, String newStatus,
                                 String oldStatusDesc, String newStatusDesc,
                                 List<Long> assigneeIds, Long creatorId,Long operationId, Double longitude,
                                  Double latitude,String  address) {
        super(source, taskId, taskCode);
        this.oldStatus = oldStatus;
        this.newStatus = newStatus;
        this.oldStatusDesc = oldStatusDesc;
        this.newStatusDesc = newStatusDesc;
        this.assigneeIds = assigneeIds;
        this.creatorId = creatorId;
        this.longitude = longitude;
        this.latitude = latitude;
        this.address = address;
        this.setOperatorId(operationId);
    }
 
 
 
    public Double getLongitude() {
        return longitude;
    }
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
    public Double getLatitude() {
        return latitude;
    }
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    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;
    }
}