| | |
| | | |
| | | 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 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 = "备注") |