|
@@ -632,10 +632,11 @@ public class WbsSynchronousServiceImpl {
|
|
|
.eq(WbsTreeContract::getContractId, contractInfo.getId())
|
|
|
.eq(WbsTreeContract::getIsTypePrivatePid, primaryKeyId));
|
|
|
//如果没有查询到,表示该合同下不存在该节点
|
|
|
-// if (CollectionUtil.isEmpty(startContacts)) {
|
|
|
-// //不能抛异常 不然就会中止程序 开发阶段先抛异常,后续统一处理
|
|
|
+ if (CollectionUtil.isEmpty(startContacts)) {
|
|
|
+ //不能抛异常 不然就会中止程序 开发阶段先抛异常,后续统一处理
|
|
|
// throw new ServiceException("当前节点不存在");
|
|
|
-// }
|
|
|
+ continue;
|
|
|
+ }
|
|
|
for (WbsTreeContract wbsTreeContract : startContacts) {
|
|
|
//获取合同 当前节点的所有子节点数据
|
|
|
LambdaQueryWrapper<WbsTreeContract> wrapperContract = Wrappers.lambdaQuery();
|