From a0c27199b7e512dc4087b80e3808f5fb1a081f0d Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期四, 22 一月 2026 13:08:48 +0800
Subject: [PATCH] openapi,外部接口更新

---
 rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/phyz/impl/MesReportServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/phyz/impl/MesReportServiceImpl.java b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/phyz/impl/MesReportServiceImpl.java
index a0d5fce..1a1ec55 100644
--- a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/phyz/impl/MesReportServiceImpl.java
+++ b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/service/phyz/impl/MesReportServiceImpl.java
@@ -167,6 +167,7 @@
                     station.setProductionLineCode((String) map.get("ProductionLineCode"));
                     station.setProductionLineName((String) map.get("ProductionLineName"));
                     station.setCreatedBy((String) map.get("CreatedBy"));
+                    station.setValid(true);
                     stations.add(station);
                 } else if (obj instanceof Station) {
                     stations.add((Station) obj);
@@ -258,7 +259,7 @@
         log.info("Mes POST璇锋眰锛� {}锛� 璇锋眰鍙傛暟锛� {}", url, JSONObject.toJSONString(params));
         
         HttpHeaders headers = new HttpHeaders();
-        headers.add("Content-Type", "application/json;charset=utf-8");    //
+        headers.add("Content-Type", "application/json;charset=utf-8");
         headers.add("Authorization", "Bearer " + token);
         
         HttpEntity<Object> httpEntity = new HttpEntity<>(params, headers);

--
Gitblit v1.9.1