Browse Source

fix : buildingId 信息点查询调整

lvxianyun 3 years ago
parent
commit
7b2afe996e

+ 2 - 0
src/main/java/com/persagy/proxy/object/service/impl/AdmSpaceServiceImpl.java

@@ -375,6 +375,8 @@ public class AdmSpaceServiceImpl extends AbstractAdmBaseServiceImpl<AdmSpace> im
             relationTo.set("objFrom",criteria.get("floorId"));
             criteria.set("relationTo",relationTo);
             criteria.remove("floorId");
+            if (criteria.has("buildingId"))
+                criteria.remove("buildingId");
             return;
         }
         if (criteria.has("buildingId")){