huangtf 8 месяцев назад
Родитель
Сommit
0aeedd4f37

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/service/impl/TaskServiceImpl.java

@@ -1210,7 +1210,7 @@ public class TaskServiceImpl extends BaseServiceImpl<TaskMapper, Task> implement
             ArchiveProjectConfig archiveProjectConfig = archiveAutoClient.getByProjectIdOrNew(query.getProjectId());
 
             //测试阶段,必须打开项目配置才能同步wbs节点
-            if (archiveProjectConfig != null && archiveProjectConfig.bSyncWbs()) {
+            if (archiveProjectConfig != null ) {
                 //废除
                 if (status == 0) {
                     delArchiveFileBusinessData(query.getProjectId(), query.getWbsId());

+ 1 - 1
blade-service/blade-manager/src/main/java/org/springblade/manager/service/impl/ArchiveTreeContractSyncImpl.java

@@ -205,7 +205,7 @@ public class ArchiveTreeContractSyncImpl {
         ArchiveProjectConfig archiveProjectConfig = archiveAutoClient.getByProjectIdOrNew(projectId);
 
         //测试阶段,必须打开项目配置才能同步wbs节点
-        if (archiveProjectConfig!= null && archiveProjectConfig.bSyncWbs()) {
+        if (archiveProjectConfig!= null ) {
             //todo 等测试OK再打开
             saveList =arTreeContractInitService.getContractExtNodes(AuthUtil.getTenantId(),projectId,dstTree,classify);
         }