|
|
@@ -809,7 +809,7 @@ public class WbsFormElementServiceImpl extends BaseServiceImpl<WbsFormElementMap
|
|
|
|
|
|
//获取表单下的元素信息
|
|
|
List<WbsFormElement> wbsFormElements = baseMapper.selectList(Wrappers.<WbsFormElement>query().lambda()
|
|
|
- .eq(WbsFormElement::getFId, formElementDTO.getId()));
|
|
|
+ .eq(WbsFormElement::getFId, wbsTree.getInitTableId()));
|
|
|
|
|
|
WbsFormElement firstWbsFormElement;
|
|
|
List<WbsFormElement> newList;
|
|
|
@@ -838,7 +838,7 @@ public class WbsFormElementServiceImpl extends BaseServiceImpl<WbsFormElementMap
|
|
|
//新增元素到当前表中
|
|
|
wbsFormElementInfo.setEKey(key);
|
|
|
wbsFormElementInfo.setId(SnowFlakeUtil.getId());
|
|
|
- wbsFormElementInfo.setFId(String.valueOf(formElementDTO.getId()));
|
|
|
+ wbsFormElementInfo.setFId(String.valueOf(wbsTree.getInitTableId()));
|
|
|
wbsFormElementInfo.setStatus(1);
|
|
|
wbsFormElementInfo.setELength(Integer.parseInt(WbsElementUtil.setDefaultElementLength(wbsFormElementInfo.getEType())));
|
|
|
|