|
@@ -438,12 +438,9 @@ public class WbsSynchronousServiceImpl {
|
|
|
editPrivateNode.setIsLinkTable(2);
|
|
|
}
|
|
|
|
|
|
- //元素 是与表绑定的
|
|
|
- if (collect.contains(3)) {
|
|
|
+ //元素、公式 是根据init_table_id去查询的
|
|
|
+ if (collect.contains(3) || collect.contains(5)) {
|
|
|
editPrivateNode.setInitTableName(templateNode.getInitTableName());
|
|
|
- }
|
|
|
- //公式 根据init_table_id去查询的
|
|
|
- if (collect.contains(5)) {
|
|
|
editPrivateNode.setInitTableId(templateNode.getInitTableId());
|
|
|
}
|
|
|
|