14 小时以前 757c7e03bee3560bb4d7766fddd03673e2c2e611
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.feedback.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
 
import java.util.List;
 
@Schema(description = "管理后台 - MES 批量报工 Response VO")
@Data
@Accessors(chain = true)
public class MesProFeedbackBatchCreateRespVO {
 
    @Schema(description = "成功数量", example = "2")
    private Integer successCount;
 
    @Schema(description = "失败数量", example = "1")
    private Integer failCount;
 
    @Schema(description = "详细结果列表")
    private List<BatchResult> results;
 
    @Data
    @Accessors(chain = true)
    public static class BatchResult {
 
        @Schema(description = "任务ID", example = "101")
        private Long taskId;
 
        @Schema(description = "是否成功")
        private Boolean success;
 
        @Schema(description = "报工单ID(成功时有值)", example = "201")
        private Long feedbackId;
 
        @Schema(description = "错误信息(失败时有值)", example = "任务已完成,不能报工")
        private String errorMsg;
    }
}