1
0
Просмотр исходного кода

调整规划条件与用地红线出具,初始化目录失败

chenendian 3 месяцев назад
Родитель
Сommit
ea99a365af

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/controller/NodeAttachmentController.java

@@ -242,7 +242,7 @@ public class NodeAttachmentController extends BaseController {
     }
 
     /**
-     * 当用户进入此页面进行数据初始化
+     * 当用户进入此页面进行附件数据初始化(流程初始化在其它方法)
      *
      * @param requestBody 包含filePath的请求体
      * @return 数据库存储后的id

+ 2 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/enums/AloneWorkFlowEnum.java

@@ -11,7 +11,8 @@ public enum AloneWorkFlowEnum {
     NODE_4("4", "建设用地规划许可","t_jsydghxk"),
     NODE_5("5", "建设工程规划许可","t_jsgcghxk"),
     NODE_6("6", "土地核验与规划核实","t_tdhyhs"),
-    NODE_7("7", "国有建设用地使用权及房屋所有权首次登记","t_gyjsydjfwscdj");
+    NODE_7("7", "国有建设用地使用权及房屋所有权首次登记","t_gyjsydjfwscdj"),
+    NODE_8("8", "规划条件与用地红线出具","t_tjyydhx");
 
     private final String index;
     private final String name;

+ 5 - 0
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/impl/NodeAttachmentImpl.java

@@ -435,6 +435,7 @@ public class NodeAttachmentImpl implements NodeAttachmentService {
                     nodeAttachment = this.assemblyAttachment(projectId,GyjsydjfwscdjAttachmentNameEnum.NAME_2,nodeAttachment);
                     nodeAttachment = this.assemblyAttachment(projectId,GyjsydjfwscdjAttachmentNameEnum.NAME_3,nodeAttachment);
                 }
+
             }
             return nodeAttachment;
         } catch (Exception e) {
@@ -553,6 +554,10 @@ public class NodeAttachmentImpl implements NodeAttachmentService {
             parentName = GyjsydjfwscdjAttachmentNameEnum.NAME_1.getParentName();
             GyjsydjfwscdjAttachmentNameEnum[] enumValues = GyjsydjfwscdjAttachmentNameEnum.values();
             nameList = Arrays.stream(enumValues).map(GyjsydjfwscdjAttachmentNameEnum::getName).collect(Collectors.toList());
+        }else if(AloneWorkFlowEnum.NODE_8.getTableName().equalsIgnoreCase(tableName)){
+            parentName = TjyydhxAttachmentNameEnum.NAME_1.getParentName();
+            TjyydhxAttachmentNameEnum[] enumValues = TjyydhxAttachmentNameEnum.values();
+            nameList = Arrays.stream(enumValues).map(TjyydhxAttachmentNameEnum::getName).collect(Collectors.toList());
         }
         retMap.put(parentName,nameList);
         return retMap;