|
@@ -98,20 +98,7 @@ public class TableElementConverter implements ITableElementConverter {
|
|
|
|
|
|
|
|
|
|
|
|
-// public void relyParse(Formula f){
|
|
|
-// if(Func.isNotBlank(f.getFormula())){
|
|
|
-// List<String> l = new ArrayList<>();
|
|
|
-// Matcher m = RP.matcher(f.getFormula());
|
|
|
-// while (m.find()){
|
|
|
-// l.add(m.group());
|
|
|
-// }
|
|
|
-// if(l.size()>0){
|
|
|
-// f.setRely(String.join(",", l));
|
|
|
-// }else{
|
|
|
-// f.setRely("");
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
+
|
|
|
|
|
|
public Boolean isPresent(){
|
|
|
return BaseUtils.isNotNull(this.keyMappers,this.formulas,this.nodeId,this.contractId);
|
|
@@ -135,16 +122,10 @@ public class TableElementConverter implements ITableElementConverter {
|
|
|
FormData fd=new FormData(codeAndId[0],new ArrayList<>(),formula,this.coordinateMap.getOrDefault(one.getTableName(),new HashMap<>()).get(one.getField()));
|
|
|
fd.setIsCurrentNodeElement(Boolean.TRUE);
|
|
|
fd.setEName(one.getEName());
|
|
|
+ fd.setEAllowDeviation(one.getEAllowDeviation());
|
|
|
+ fd.setEType(one.getEType());
|
|
|
/*初始化元素数据集*/
|
|
|
List<ElementData> eds =fd.getValues();
|
|
|
-// String coords = this.coordinateMap.getOrDefault(fd.getTableName(),new HashMap<>()).get(fd.getKey());
|
|
|
-// if(Func.isNotBlank(coords)) {
|
|
|
-// List<Coords> coordsList = Stream.of(coords).flatMap(s -> Arrays.stream(s.split(";"))).map(s -> {
|
|
|
-// String[] xy = s.split("_");
|
|
|
-// return new Coords(xy[1], xy[0]);
|
|
|
-// }).collect(Collectors.toList());
|
|
|
-// fd.setCoordsList(coordsList);
|
|
|
-// }
|
|
|
for(int i=0;i<kms.size();i++){
|
|
|
/*每一页都有自己对立的Id*/
|
|
|
KeyMapper km=kms.get(i);
|