| | |
| | | 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; |
| | |
| | | /** 创建人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) { |
| | | List<Long> assigneeIds, Long creatorId,Long operationId, Double longitude, |
| | | Double latitude,String address) { |
| | | super(source, taskId, taskCode); |
| | | this.oldStatus = oldStatus; |
| | | this.newStatus = newStatus; |
| | |
| | | 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; |
| | | } |