| | |
| | | |
| | | 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 Long vendorId; |
| | | |
| | | @Schema(description = "供应商简称", example = "供应商A") |
| | | @ExcelProperty("供应商简称") |
| | | private String vendorNickname; |
| | | |
| | | @Schema(description = "供应商批次号", example = "VB20250101") |
| | |
| | | // ========== 检验 ========== |
| | | |
| | | @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 = "备注") |