| | |
| | | |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.module.mes.enums.DictTypeConstants; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | private String name; |
| | | |
| | | @Schema(description = "IPQC 检验类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @ExcelProperty("检验类型") |
| | | @ExcelProperty(value = "检验类型", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.MES_IPQC_TYPE) |
| | | private Integer type; |
| | | |
| | | @Schema(description = "检验模板 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "100") |
| | |
| | | private String itemName; |
| | | |
| | | @Schema(description = "规格型号", example = "100mm*50mm") |
| | | @ExcelProperty("规格型号") |
| | | private String itemSpecification; |
| | | |
| | | @Schema(description = "单位名称", example = "个") |
| | | @ExcelProperty("单位") |
| | | private String unitName; |
| | | |
| | | // ========== 数量 ========== |
| | |
| | | // ========== 检验 ========== |
| | | |
| | | @Schema(description = "检测结果", example = "1") |
| | | @ExcelProperty("检测结果") |
| | | @ExcelProperty(value = "检测结果", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.MES_QC_CHECK_RESULT) |
| | | private Integer checkResult; |
| | | |
| | | // ========== 检验项指标 ========== |
| | | |
| | | @Schema(description = "检验项指标汇总", example = "外观:良好(OK), 尺寸:100.00mm(OK)") |
| | | @ExcelProperty("检验项指标") |
| | | private String indicatorResultSummary; |
| | | |
| | | @Schema(description = "检测日期") |
| | | @ExcelProperty("检测日期") |
| | |
| | | private String inspectorNickname; |
| | | |
| | | @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") |
| | | @ExcelProperty("状态") |
| | | @ExcelProperty(value = "状态", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.MES_ORDER_STATUS) |
| | | private Integer status; |
| | | |
| | | @Schema(description = "备注", example = "备注") |
| | | @ExcelProperty("备注") |
| | | private String remark; |
| | | |
| | | // ========== 报告表头与签字 ========== |
| | | |
| | | @Schema(description = "采样地点", example = "罐区") |
| | | private String samplingLocation; |
| | | |
| | | @Schema(description = "证书编号/合格证号", example = "V0028") |
| | | private String certificateNo; |
| | | |
| | | @Schema(description = "执行标准", example = "GB/T6027") |
| | | private String executeStandard; |
| | | |
| | | @Schema(description = "复核人用户编号", example = "1") |
| | | private Long auditUserId; |
| | | |
| | | @Schema(description = "复核人昵称", example = "李四") |
| | | private String auditNickname; |
| | | |
| | | @Schema(description = "审核人用户编号", example = "1") |
| | | private Long approveUserId; |
| | | |
| | | @Schema(description = "审核人昵称", example = "王五") |
| | | private String approveNickname; |
| | | |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @ExcelProperty("创建时间") |
| | | private LocalDateTime createTime; |