Browse Source

资料节点颜色

qianxb 2 years ago
parent
commit
1c1e8b2762

+ 1 - 1
blade-service/blade-business/src/main/java/org/springblade/business/controller/InformationWriteQueryController.java

@@ -2472,7 +2472,7 @@ public class InformationWriteQueryController extends BladeController {
             //施工合同段
             rootTreeNode = this.informationQueryService.queryContractTree(contractId, StringUtils.isNotEmpty(parentId) ? parentId : "0", 1);
             rootTreeNode.stream().forEach(rtn->{
-                if (rtn.getSubmitCounts() > 0L){
+                if (rtn.getSubmitCounts() > 0L && rtn.getColorStatus() <= 1 && rtn.getNotExsitChild() == false){
                     rtn.setColorStatus(2);
                 }
             });