|
@@ -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"
|