瀏覽代碼

分精度数据返回接口增加localId

lirong 3 年之前
父節點
當前提交
b285cb5232
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/DrawUtil.java

+ 2 - 0
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/DrawUtil.java

@@ -44,7 +44,9 @@ public class DrawUtil {
 		if (sdo.containsKey("id")) {
 			JSONObject result = new JSONObject();
 			String id = (String) sdo.get("id").value_prim.value;
+			String localId = (String) sdo.get("localId").value_prim.value;
 			result.put("id", id);
+			result.put("localId", localId);
 			JSONObject obj = Repository.id2object.get(id);
 			String classCode = (String) obj.get("classCode");
 			SceneDataSet infoArray = Repository.infoArrayDic.get(classCode);