| | |
| | | |
| | | 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 = "检测日期") |
| | |
| | | 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 = "备注") |