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