From 616a6b2e9a7824da8d11a4e11730fd2f9b615299 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 06 十一月 2026 09:46:53 +0800
Subject: [PATCH] fix(qc): 修复巡检记录校验缺少租户隔离问题

---
 yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcRespVO.java |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcRespVO.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcRespVO.java
index 79d9bed..e366c13 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcRespVO.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/oqc/vo/MesQcOqcRespVO.java
@@ -2,6 +2,9 @@
 
 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;
 
@@ -42,6 +45,10 @@
     @Schema(description = "鏉ユ簮鍗曟嵁缂栧彿", example = "DOC20250101001")
     private String sourceDocCode;
 
+    @Schema(description = "鐩樺彿")
+    @ExcelProperty("鐩樺彿")
+    private String reelNo;
+
     // ========== 瀹㈡埛 ==========
 
     @Schema(description = "瀹㈡埛 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
@@ -69,9 +76,11 @@
     private String itemName;
 
     @Schema(description = "瑙勬牸鍨嬪彿", example = "100mm*50mm")
+    @ExcelProperty("瑙勬牸鍨嬪彿")
     private String itemSpecification;
 
     @Schema(description = "鍗曚綅鍚嶇О", example = "涓�")
+    @ExcelProperty("鍗曚綅")
     private String unitName;
 
     // ========== 鏁伴噺 ==========
@@ -121,8 +130,15 @@
     // ========== 妫�楠� ==========
 
     @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("鍑鸿揣鏃ユ湡")
@@ -140,7 +156,8 @@
     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 = "澶囨敞")

--
Gitblit v1.9.3