浏览代码

fix :FOV-64

lvxianyun 3 年之前
父节点
当前提交
5033726b0d
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/main/java/com/persagy/proxy/relation/controller/RelationSyInFlController.java

+ 7 - 7
src/main/java/com/persagy/proxy/relation/controller/RelationSyInFlController.java

@@ -100,15 +100,15 @@ public class RelationSyInFlController {
 
         //需要解绑关系
         QueryCriteria queryCriteria = new QueryCriteria();
-        ObjectNode criteria = JsonNodeFactory.instance.objectNode();
-        criteria.put("graphCode", graphCode);
-        criteria.put("relCode", relCode);
-        criteria.put("objFrom", sysId);
-        queryCriteria.setCriteria(criteria);
+        ObjectNode criteriaDel = JsonNodeFactory.instance.objectNode();
+        criteriaDel.put("graphCode", graphCode);
+        criteriaDel.put("relCode", relCode);
+        criteriaDel.put("objFrom", sysId);
+        queryCriteria.setCriteria(criteriaDel);
         service.doDelete(AdmContextUtil.toDmpContext(), queryCriteria);
 
-        criteria.put("relCode", "Sy2Bd");
-        queryCriteria.setCriteria(criteria);
+        criteriaDel.put("relCode", "Sy2Bd");
+        queryCriteria.setCriteria(criteriaDel);
         service.doDelete(AdmContextUtil.toDmpContext(), queryCriteria);
 
         for (String floorId : floorIdList) {