|
|
@@ -704,18 +704,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
} else {
|
|
|
List<WbsTreeContract> list = wbsTreeContractService.getBaseMapper().selectList(Wrappers.<WbsTreeContract>query().lambda().in(WbsTreeContract::getPKeyId, pkeyIds));
|
|
|
if (list.size() > 0) {
|
|
|
- list.forEach(e -> {
|
|
|
- Map<String, String> elementCell = FormulaUtils.getElementCell(e.getHtmlUrl());
|
|
|
- //扩展中间元素开发
|
|
|
- List<String> collect = keyMappers.stream().map(KeyMapper::getField).filter(f -> f.split("_").length == 2
|
|
|
- && Integer.parseInt(f.split("_")[1]) >= 1000
|
|
|
- && Integer.parseInt(f.split("_")[1]) <= 1100
|
|
|
- && elementCell.get(f) == null).collect(Collectors.toList());
|
|
|
- collect.forEach(f->{
|
|
|
- elementCell.put(f,"0_0");
|
|
|
- });
|
|
|
- coordinateMap.computeIfAbsent(e.getInitTableName(), k -> elementCell);
|
|
|
- });
|
|
|
+ list.forEach(e -> coordinateMap.computeIfAbsent(e.getInitTableName(), k -> FormulaUtils.getElementCell(e.getHtmlUrl())));
|
|
|
}
|
|
|
}
|
|
|
}
|