From b78c9ed179f95a6407120fee5dc8156bdb6cdfeb Mon Sep 17 00:00:00 2001 From: FCL Date: Thu, 25 Dec 2025 14:50:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8A=A5=E5=91=8A=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=84=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportdoc/service/ReportDocumentDataServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentDataServiceImpl.java b/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentDataServiceImpl.java index b903881..9fd9c28 100644 --- a/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentDataServiceImpl.java +++ b/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentDataServiceImpl.java @@ -121,6 +121,9 @@ public class ReportDocumentDataServiceImpl implements ReportDocumentDataService JSONObject dataJson = JSONObject.parseObject(documentContent); if(dataJson == null) continue; + String usage = dataJson.getString("usage"); + if(!"report".equals( usage) && ! "ingredient_report".equals(usage)) + continue; if(dataJson.containsKey(field)){ if(!hasFields.contains( fieldName)){ fieldList.add(fieldDO);