From 7597c63fa8a1384c452873ff1fd9d471d8ad1237 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期五, 05 七月 2024 14:51:52 +0800 Subject: [PATCH] -100-1 bug修复 --- jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java b/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java index 0d8c164..a368390 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java +++ b/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java @@ -51,10 +51,9 @@ @GetMapping("/initializedData") public AjaxResult initializedData(BsFormulaChildInfo bsFormulaChildInfo) { - String productNum = "0RSPB001139E3AE5B0000035"; + String productNum = ""; try { - - String str = "PACK."+bsFormulaChildInfo.getProcessesCode()+".MStepNumber"; + String str = "MOZU1."+bsFormulaChildInfo.getLocationCode()+".MES_ModuleCode"; Object productNumObject = miloService.readFromOpcUa(str).getValue(); if(ObjectUtil.isNotNull(productNumObject)){ productNum = productNumObject.toString(); -- Gitblit v1.9.3