lbq
3 天以前 a0c27199b7e512dc4087b80e3808f5fb1a081f0d
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);