|
|
@@ -1879,6 +1879,15 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ //取消公式执行 的单元格不自动获取html上的数据到表格中
|
|
|
+ WbsTreeContractExtend byId = wbsTreeContractExtendService.getById(nodeId);
|
|
|
+ if(byId != null && StringUtils.isNotEmpty(byId.getFormulaConfig())){
|
|
|
+ List<String> notFormula = Arrays.asList(byId.getFormulaConfig().split(","));
|
|
|
+ reData.keySet().removeIf(key -> {
|
|
|
+ String[] keyParts = key.split("__");
|
|
|
+ return keyParts.length > 1 && notFormula.contains(wbsTreeContract.getInitTableName() + ":" + keyParts[0]);
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
//电签默认值
|
|
|
if (defText.size() >= 1) {
|
|
|
@@ -3274,6 +3283,16 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+ //取消公式执行 过滤html数据
|
|
|
+ WbsTreeContractExtend byId = wbsTreeContractExtendService.getById(record.getId());
|
|
|
+ if(byId != null && StringUtils.isNotEmpty(byId.getFormulaConfig())){
|
|
|
+ List<String> notFormula = Arrays.asList(byId.getFormulaConfig().split(","));
|
|
|
+ reData.keySet().removeIf(key -> {
|
|
|
+ String[] keyParts = key.split("__");
|
|
|
+ return keyParts.length > 1 && notFormula.contains(wbsTreePrivate.getInitTableName() + ":" + keyParts[0]);
|
|
|
+ });
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
ProjectInfo projectInfo = jdbcTemplate.query("select project_name from m_project_info where id = " + wbsTreePrivate.getProjectId(), new BeanPropertyRowMapper<>(ProjectInfo.class)).stream().findAny().orElse(null);
|
|
|
if (projectInfo != null) {
|