|
@@ -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) {
|