From 2e0ed5968e2cb96695b2083fa9ad7059dbd0d6a9 Mon Sep 17 00:00:00 2001 From: yangrd <1020519285@qq.com> Date: Fri, 21 Mar 2025 17:16:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=BF=AE=E5=A4=8D=E6=96=B9?= =?UTF-8?q?=E6=A1=88id=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- wareHouse.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index af5fb5e..5be6209 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@airkoon/cellsysArt", - "version": "1.0.6", + "version": "1.0.8", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/wareHouse.js b/wareHouse.js index 5e6574b..d747da9 100644 --- a/wareHouse.js +++ b/wareHouse.js @@ -19,12 +19,14 @@ class Warehouse { this.typeName = params.type_name; this.style = params.style ? params.style : {}; this.description = params.description; + this.geometryPosition=params.geometry_position; } static createWarehouse(params) { let editTask = new EditTask(artApi.wareHouseInsert); editTask.addParam("_name", params.name); editTask.addParam("_description", params.description); editTask.addParam("_geometry", params.geometry); + editTask.addParam("_geometry_position", params.geometryPosition); editTask.addParam("_type", params.type); editTask.addParam("_status", 1); editTask.addParam("_action", params.action); @@ -37,6 +39,7 @@ class Warehouse { editTask.addParam("_type", params.type); editTask.addParam("_id", params.id); editTask.addParam("_geometry", params.geometry); + editTask.addParam("_geometry_position", params.geometryPosition); editTask.addParam("_name", params.name); editTask.addParam("_description", params.description); editTask.addParam("_action", params.action);