From df08ca13ad69fd3908bfcd5f39f05f6c4ffb668a Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期四, 22 一月 2026 14:10:49 +0800
Subject: [PATCH] lsh#
---
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