Browse Source

****************************************提交分类************************************

weixinVSjinlai 4 years ago
parent
commit
f1822e82e7

+ 8 - 8
equip-component/src/main/kotlin/com/persagy/server/service/dict/DictDefClassService.kt

@@ -182,14 +182,14 @@ object DefFuncIdService: SObjectService<DefFuncId>(SMybatisDao(DefFuncId::class.
 //                ,SFilter.eq("classCode", category)).exec()
             var defFuncIdList = DefFuncIdService.select(SFilter.eq("projectId", Opt.projectId!!),
                     SFilter.inList("code", arrayListOf("bimTypeId","name","localName","localId"))).exec()
-            if (defFuncIdList.size == 0 ) {
-                defFuncIdList = DefFuncIdService.select(SFilter.eq("type","group"),
-                        SFilter.inList("code", arrayListOf("bimTypeId","name","localName","localId"))).exec()
-                if (defFuncIdList.size == 0) {
-                    defFuncIdList = DefFuncIdService.select(SFilter.eq("type","common"),
-                            SFilter.inList("code", arrayListOf("bimTypeId","name","localName","localId"))).exec()
-                }
-            }
+//            if (defFuncIdList.size == 0 ) {
+//                defFuncIdList = DefFuncIdService.select(SFilter.eq("type","group"),
+//                        SFilter.inList("code", arrayListOf("bimTypeId","name","localName","localId"))).exec()
+//                if (defFuncIdList.size == 0) {
+//                    defFuncIdList = DefFuncIdService.select(SFilter.eq("type","common"),
+//                            SFilter.inList("code", arrayListOf("bimTypeId","name","localName","localId"))).exec()
+//                }
+//            }
             for (defFuncId in defFuncIdList) {
                 if (defFuncId.code == "name"){
                     defFuncId.code = "systemCategory"