caiaf 3 years ago
parent
commit
e2d1256577

+ 3 - 3
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/services/json/EquipmentAnalyzer.kt

@@ -139,14 +139,14 @@ object EquipmentAnalyzer {
                         if(equipComp != null){
                             obj.family = equipComp.classCode?:"XXXXXX"
                             obj.bimTypeName = equipComp.bimTypeName
-                            obj.aliasCode = equipComp.aliasCode
+                            obj.wdCode = equipComp.aliasCode
                             obj.aliasName = equipComp.aliasName
                         }else{
                             equipComp = equipCompService.select(SFilter.eq("bimTypeID",obj.bimTypeID!!)).entity()
                             if(equipComp != null){
                                 obj.family = equipComp.classCode?:"XXXXXX"
                                 obj.bimTypeName = equipComp.bimTypeName
-                                obj.aliasCode = equipComp.aliasCode
+                                obj.wdCode = equipComp.aliasCode
                                 obj.aliasName = equipComp.aliasName
                             }else{
                                 obj.family = "OTXXXX"
@@ -158,7 +158,7 @@ object EquipmentAnalyzer {
                         if(equipComp != null){
                             obj.family = equipComp.classCode?:"XXXXXX"
                             obj.bimTypeName = equipComp.bimTypeName
-                            obj.aliasCode = equipComp.aliasCode
+                            obj.wdCode = equipComp.aliasCode
                             obj.aliasName = equipComp.aliasName
                         }else{
                             obj.family = "OTXXXX"