From fa43a6579a61f0ea21e0a9912bcbbfed7edbbd01 Mon Sep 17 00:00:00 2001 From: FCL Date: Wed, 4 Feb 2026 18:07:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=A2=9E=E5=8A=A0=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportdoc/service/ReportDocumentMainServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentMainServiceImpl.java b/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentMainServiceImpl.java index d2a7b0f..16d0629 100644 --- a/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentMainServiceImpl.java +++ b/zt-module-qms/zt-module-qms-server/src/main/java/com/zt/plat/module/qms/business/reportdoc/service/ReportDocumentMainServiceImpl.java @@ -214,9 +214,17 @@ public class ReportDocumentMainServiceImpl implements ReportDocumentMainService, //委托单号 String entrustCode = ""; + if(!ObjectUtils.isEmpty(entrustList)){ for(BusinessSampleEntrustRegistrationDO entrust : entrustList){ entrustCode += entrust.getEntrustNumber() + ","; + String externalInfomation = entrust.getExternalInfomation(); + if(!ObjectUtils.isEmpty(externalInfomation)){ + JSONObject externalInfomationJson = JSONObject.parseObject(externalInfomation); + String sampleCategory = externalInfomationJson.getString("sampleCategory"); + if(!ObjectUtils.isEmpty(sampleCategory)) + formDataJson.put("sampleCategory", sampleCategory); + } break; } }