|
@@ -615,7 +615,13 @@ public class ArchiveTreeContractSyncImpl {
|
|
|
if (current == null) {
|
|
|
return null; // 如果没有找到对应的节点,则返回 null
|
|
|
}
|
|
|
- if (current.getNodeType() <= nodeType && !current.getNodeName().contains("中间交工")) {
|
|
|
+ if (current.getNodeType() <= nodeType &&
|
|
|
+ ! (current.getNodeName().contains("中间交工")
|
|
|
+ || current.getNodeName().contains("质量评定")
|
|
|
+ || current.getNodeName().contains("开工报告")
|
|
|
+ || current.getNodeName().contains("质量检验评定")
|
|
|
+ || current.getNodeName().contains("质量验收评定"))
|
|
|
+ ) {
|
|
|
return current.getPKeyId(); // 如果找到了符合要求的节点,则返回其 pKeyId 属性值
|
|
|
}
|
|
|
id = current.getParentId(); // 取出当前节点的父节点 ID,准备进行下一轮循环操作
|