caiaf пре 3 година
родитељ
комит
badf5e0d79

+ 3 - 0
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/backstage/model/datacenter/DCFloor.kt

@@ -48,4 +48,7 @@ class DCFloor {
 
     @JSONField(name = "localId")
     var localId: String? = null
+
+    @JSONField(name = "bimIdPre")
+    var bimIdPre: String? = null
 }

+ 1 - 0
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/controllers/modelFile/ModelFileController.kt

@@ -253,6 +253,7 @@ class ModelFileController {
                 dcfloor.localName = request.localName
                 dcfloor.floorSequenceId = request.floorSequenceId
                 dcfloor.modelId = model.id
+                dcfloor.bimIdPre = "${request.projectId}${request.folderId}${request.localId}"
                 val result = dataCenterService.floorCreate(dcfloor,request.projectId!!)
                 if(!result){
                     return  SBaseResponse(SResponseType.failure, "创建楼层失败")