|
|
@@ -362,7 +362,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
tableInfo.setProjectId(dataInfo2.getString("projectId"));
|
|
|
//huangjn 填报的类型,施工或监理
|
|
|
tableInfo.setClassify(dataInfo2.getString("classify"));
|
|
|
-
|
|
|
+ tableInfo.setIsRemoveForSubTab(dataInfo2.getString("isRemoveForSubTab"));
|
|
|
//设置首件信息
|
|
|
this.setFirstData(dataInfo2, tableInfo);
|
|
|
//设置日志信息
|
|
|
@@ -466,11 +466,11 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
}else{
|
|
|
tableAll = createNodeTables(nodeId, tableInfoList.get(0).getContractId(), tableInfoList.get(0).getProjectId(), type,tableInfoList.get(0).getClassify(), tableInfoList.get(0).getTestGroupId());
|
|
|
}
|
|
|
-
|
|
|
+ String isRemoveForSubTab = "0";
|
|
|
|
|
|
if (tableAll.size() > tableInfoList.size()) {
|
|
|
TableInfo example = tableInfoList.get(0);
|
|
|
-
|
|
|
+ isRemoveForSubTab=example.getIsRemoveForSubTab();
|
|
|
/*补充缺失的数据*/
|
|
|
List<Long> cp = tableInfoList.stream().map(TableInfo::getPkeyId).map(Long::parseLong).collect(Collectors.toList());
|
|
|
List<Long> load = tableAll.stream().map(NodeTable::getPKeyId).filter(pk -> !cp.contains(pk)).collect(Collectors.toList());
|
|
|
@@ -549,6 +549,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
tec.setExecuteType(type);
|
|
|
tec.setContractId(contractId);
|
|
|
tec.setProjectId(projectId);
|
|
|
+ tec.setIsRemoveForSubTab(isRemoveForSubTab);
|
|
|
if (tec.isPresent()) {
|
|
|
tec.before();
|
|
|
this.formulaService.execute(tec);
|