|
@@ -1634,6 +1634,12 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
|
|
|
/*把主表的表头表尾信息拷贝*/
|
|
|
headerFooterSub(subTableFds, tec);
|
|
|
/*如果识别到手填内容需要在附表写入数据后,更新评定关联数据*/
|
|
|
+ }else {
|
|
|
+ List<NodeTable> subTabList = tec.getTableAll().stream().filter(e -> e.getNodeName().contains("附表") && (e.getTableType() == 1 || e.getTableType() == 5)).collect(Collectors.toList());
|
|
|
+ if(!subTabList.isEmpty()){
|
|
|
+ List<Long> removeIds=subTabList.stream().map(e->e.getPKeyId()).collect(Collectors.toList());
|
|
|
+ this.wbsTreeContractMapper.deleteByIds(removeIds);
|
|
|
+ }
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|