1、修改数据查询的导出接口
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import com.sdm.common.entity.ExportExcelFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PerformanceAnalysisExportExcelFormat {
|
||||
|
||||
/**
|
||||
* 导出的基本属性值
|
||||
*/
|
||||
private List<ExportExcelFormat> excelHeaders;
|
||||
|
||||
/**
|
||||
* 导出指标的可选查询参数
|
||||
*/
|
||||
private PerformanceAnalysisExportExcelParam params;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import com.sdm.common.entity.ExportExcelFormat;
|
||||
import com.sdm.common.entity.req.task.TaskExportExcelParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PerformanceAnalysisExportExcelParam {
|
||||
|
||||
private Integer current;
|
||||
|
||||
private Integer size;
|
||||
|
||||
@Schema( description = "项目节点id")
|
||||
private String projectNodeId;
|
||||
|
||||
@Schema( description = "阶段节点id")
|
||||
private String phaseNodeId;
|
||||
|
||||
@Schema( description = "机台节点id")
|
||||
private String machineNodeId;
|
||||
|
||||
@Schema( description = "工位节点id")
|
||||
private String workspaceNodeId;
|
||||
|
||||
@Schema( description = "专业节点id")
|
||||
private String disciplineNodeId;
|
||||
|
||||
@Schema( description = "任务节点id")
|
||||
private String taskNodeId;
|
||||
|
||||
@Schema( description = "指标名称")
|
||||
private String performanceName;
|
||||
|
||||
@Schema( description = "开始时间")
|
||||
private String beginTime;
|
||||
|
||||
@Schema( description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema( description = "名称(兼容数据总览使用)")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 导出的基本属性值
|
||||
*/
|
||||
private List<ExportExcelFormat> excelHeaders;
|
||||
|
||||
/**
|
||||
* 导出任务的可选查询参数
|
||||
*/
|
||||
private TaskExportExcelParam params;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import com.sdm.common.entity.ExportExcelFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class RunAnalysisExportExcelFormat {
|
||||
|
||||
/**
|
||||
* 导出的基本属性值
|
||||
*/
|
||||
private List<ExportExcelFormat> excelHeaders;
|
||||
|
||||
/**
|
||||
* 导出算例的可选查询参数
|
||||
*/
|
||||
private RunAnalysisExportExcelParam params;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RunAnalysisExportExcelParam {
|
||||
|
||||
private Integer current;
|
||||
|
||||
private Integer size;
|
||||
|
||||
@Schema( description = "项目节点id")
|
||||
private String projectNodeId;
|
||||
|
||||
@Schema( description = "阶段节点id")
|
||||
private String phaseNodeId;
|
||||
|
||||
@Schema( description = "机台节点id")
|
||||
private String machineNodeId;
|
||||
|
||||
@Schema( description = "工位节点id")
|
||||
private String workspaceNodeId;
|
||||
|
||||
@Schema( description = "专业节点id")
|
||||
private String disciplineNodeId;
|
||||
|
||||
@Schema( description = "任务节点id")
|
||||
private String taskNodeId;
|
||||
|
||||
@Schema( description = "算例名称")
|
||||
private String runName;
|
||||
|
||||
@Schema( description = "开始时间")
|
||||
private String beginTime;
|
||||
|
||||
@Schema( description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema( description = "名称(兼容数据总览使用)")
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import com.sdm.common.entity.ExportExcelFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class TaskAnalysisExportExcelFormat {
|
||||
|
||||
/**
|
||||
* 导出的基本属性值
|
||||
*/
|
||||
private List<ExportExcelFormat> excelHeaders;
|
||||
|
||||
/**
|
||||
* 导出任务的可选查询参数
|
||||
*/
|
||||
private TaskAnalysisExportExcelParam params;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package com.sdm.common.entity.req.export;
|
||||
|
||||
import com.sdm.common.entity.bo.TaskNodeTag;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class TaskAnalysisExportExcelParam {
|
||||
|
||||
@NotNull(message = "current不能为空")
|
||||
private Integer current;
|
||||
|
||||
@NotNull(message = "size不能为空")
|
||||
private Integer size;
|
||||
|
||||
@Schema( description = "项目节点id")
|
||||
private String projectNodeId;
|
||||
|
||||
@Schema( description = "阶段节点id")
|
||||
private String phaseNodeId;
|
||||
|
||||
@Schema( description = "机台节点id")
|
||||
private String machineNodeId;
|
||||
|
||||
@Schema( description = "工位节点id")
|
||||
private String workspaceNodeId;
|
||||
|
||||
@Schema( description = "专业节点id")
|
||||
private String disciplineNodeId;
|
||||
|
||||
@Schema( description = "任务节点id")
|
||||
private String taskNodeId;
|
||||
|
||||
@Schema(description = "标签1")
|
||||
private String tag1;
|
||||
|
||||
@Schema(description = "标签2")
|
||||
private String tag2;
|
||||
|
||||
@Schema(description = "标签3")
|
||||
private String tag3;
|
||||
|
||||
@Schema(description = "标签4")
|
||||
private String tag4;
|
||||
|
||||
@Schema(description = "标签5")
|
||||
private String tag5;
|
||||
|
||||
@Schema(description = "标签6")
|
||||
private String tag6;
|
||||
|
||||
@Schema(description = "标签7")
|
||||
private String tag7;
|
||||
|
||||
@Schema(description = "标签8")
|
||||
private String tag8;
|
||||
|
||||
@Schema(description = "标签9")
|
||||
private String tag9;
|
||||
|
||||
@Schema(description = "标签10")
|
||||
private String tag10;
|
||||
|
||||
@Schema( description = "任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Schema( description = "开始时间")
|
||||
private String beginTime;
|
||||
|
||||
@Schema( description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Schema( description = "名称(兼容数据总览使用)")
|
||||
private String name;
|
||||
}
|
||||
Reference in New Issue
Block a user