添加参数
This commit is contained in:
parent
1f0f8841ce
commit
5a57743e05
|
|
@ -1,5 +1,6 @@
|
||||||
package com.ruoyi.task.api.domain;
|
package com.ruoyi.task.api.domain;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -13,8 +14,8 @@ public class TaskStatByMonthDTO {
|
||||||
/** 总数 */
|
/** 总数 */
|
||||||
private Integer total;
|
private Integer total;
|
||||||
|
|
||||||
/** 每日统计 key:日期(1-31) value:任务数量 */
|
/** 每日任务列表 key:日期(1-31) value:任务列表 */
|
||||||
private Map<Integer, Integer> days;
|
private Map<Integer, List<TaskStatItemDTO>> days;
|
||||||
|
|
||||||
public Integer getTotal() {
|
public Integer getTotal() {
|
||||||
return total;
|
return total;
|
||||||
|
|
@ -24,11 +25,11 @@ public class TaskStatByMonthDTO {
|
||||||
this.total = total;
|
this.total = total;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, Integer> getDays() {
|
public Map<Integer, List<TaskStatItemDTO>> getDays() {
|
||||||
return days;
|
return days;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDays(Map<Integer, Integer> days) {
|
public void setDays(Map<Integer, List<TaskStatItemDTO>> days) {
|
||||||
this.days = days;
|
this.days = days;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
package com.ruoyi.task.api.domain;
|
||||||
|
|
||||||
|
import com.ruoyi.task.api.enums.StatusEnum;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务统计项DTO
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2026-03-09
|
||||||
|
*/
|
||||||
|
public class TaskStatItemDTO {
|
||||||
|
|
||||||
|
private Long taskId;
|
||||||
|
private Long planId;
|
||||||
|
private String taskName;
|
||||||
|
private String planName;
|
||||||
|
private Date startTime;
|
||||||
|
private Date endTime;
|
||||||
|
private Date actualStartTime;
|
||||||
|
private Date actualEndTime;
|
||||||
|
private StatusEnum status;
|
||||||
|
|
||||||
|
public Long getTaskId() {
|
||||||
|
return taskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTaskId(Long taskId) {
|
||||||
|
this.taskId = taskId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getPlanId() {
|
||||||
|
return planId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPlanId(Long planId) {
|
||||||
|
this.planId = planId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTaskName() {
|
||||||
|
return taskName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTaskName(String taskName) {
|
||||||
|
this.taskName = taskName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPlanName() {
|
||||||
|
return planName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPlanName(String planName) {
|
||||||
|
this.planName = planName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getStartTime() {
|
||||||
|
return startTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStartTime(Date startTime) {
|
||||||
|
this.startTime = startTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getEndTime() {
|
||||||
|
return endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEndTime(Date endTime) {
|
||||||
|
this.endTime = endTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getActualStartTime() {
|
||||||
|
return actualStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActualStartTime(Date actualStartTime) {
|
||||||
|
this.actualStartTime = actualStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getActualEndTime() {
|
||||||
|
return actualEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActualEndTime(Date actualEndTime) {
|
||||||
|
this.actualEndTime = actualEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public StatusEnum getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(StatusEnum status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue