|
@@ -2149,15 +2149,12 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
Element table = doc.select("table").first();
|
|
|
//计算填报率
|
|
|
List<String> keyList = table.getElementsByAttribute("keyname")
|
|
|
- .stream()
|
|
|
+ .stream().filter(k->k.attr("v-model").indexOf("\\.")>=0)
|
|
|
.map(l -> {
|
|
|
String attr = l.attr("v-model");
|
|
|
System.out.println(attr);
|
|
|
- if(attr.indexOf("\\.")>=0){
|
|
|
String[] split = attr.split("\\.");
|
|
|
return split[1];
|
|
|
- }
|
|
|
- return null;
|
|
|
})
|
|
|
.collect(Collectors.toList());
|
|
|
Long sigSize = table.getElementsByAttribute(":readonly").stream().count();
|