Browse Source

fix : 竖井和建筑的关系

lvxianyun 3 years ago
parent
commit
8e95faffb3

+ 2 - 2
src/main/java/com/persagy/proxy/relation/controller/RelationShInBdController.java

@@ -45,8 +45,8 @@ public class RelationShInBdController {
             return AdmResponse.failure("必填项:shaftId(竖井id)、BuildingIdList(建筑id列表)");
         }
         List<RelationDTO> voList = new ArrayList<>();
-        String graphCode = AdmRelationTypeEnum.BD2SH_ARCHFORARCH.getGraphCode();
-        String relCode = AdmRelationTypeEnum.BD2SH_ARCHFORARCH.getRelCode();
+        String graphCode = AdmRelationTypeEnum.BD2SH_ARCHSUBSET.getGraphCode();
+        String relCode = AdmRelationTypeEnum.BD2SH_ARCHSUBSET.getRelCode();
         // 组装关系
         for (String buildingId : buildingIdList) {
             RelationDTO relation = RelationDTO.builder().graphCode(graphCode).relCode(relCode)