|
@@ -311,7 +311,10 @@ public class WbsSynchronousServiceImpl {
|
|
|
List<WbsTreePrivate> editPrivateNodes = new ArrayList<>();
|
|
|
for (WbsTreePrivate templateNode : templateNodes) {
|
|
|
//数据修复-----------------------------------------------------------------------------------------------------------------------------------开始
|
|
|
- if (!isPublic && templateNode.getType() == 2 && collect.contains(2)) {
|
|
|
+ if (!isPublic && templateNode.getType() == 2 && collect.contains(2) ) {
|
|
|
+ if(CollectionUtil.isNotEmpty(formList) && !formList.contains(templateNode.getPKeyId())){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
boolean isUpdate = false;
|
|
|
if (templateNode.getExcelId() != null) {
|
|
|
ExcelTab excelTab = excelTabMapper.selectOne(Wrappers.<ExcelTab>lambdaQuery()
|