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

出让,划拨切换解决目录依赖2

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

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

@@ -316,7 +316,6 @@ public class NodeAttachmentController extends BaseController {
                     nodeAttachment = nodeAttachmentService.getNodeAttachmentData(nodeId,gdType);
                 }
             }
-
             return R.ok(nodeAttachment);
         } catch (Exception e) {
             logger.error("初始化附件信息异常", e);

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

@@ -397,12 +397,12 @@ public class NodeAttachmentImpl implements NodeAttachmentService {
                         TdgyRes tdgy = tdgyService.getById(nodeId);
                         gdType = tdgy.getGdType();
                     }
-                    if("1".equals(gdType)) {
+                    if("出让".equals(gdType)) {
                         //处理-规划条件出具依赖
                         nodeAttachment = this.assemblyAttachment(projectId,TdgyAttachmentNameEnum.NAME_2,nodeAttachment);
                         //处理-出让图形依赖
                         nodeAttachment = this.assemblyAttachment(projectId,TdgyAttachmentNameEnum.NAME_3,nodeAttachment);
-                    }else if("2".equals(gdType)) {
+                    }else if("划拨".equals(gdType)) {
                         //处理-项目批准文件
                         nodeAttachment = this.assemblyAttachment(projectId,TdgyHbAttachmentNameEnum.NAME_1,nodeAttachment);
                         //处理-土地权属来源文件

+ 0 - 2
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/impl/ProjectImpl.java

@@ -254,8 +254,6 @@ public class ProjectImpl implements ProjectService {
         return workflows;
     }
 
-
-    //根据项目id,更新项目的上链节点数量
     /**
      * 1.查询出所有的节点。
      * 2.根据节点表名和项目id,查询出该节点表中该项目的上链数量。