|
@@ -74,12 +74,15 @@ public class ExportProperty {
|
|
|
return;
|
|
|
}
|
|
|
System.out.println("总科目数:"+subjectCodes.size());
|
|
|
+ int total=0;
|
|
|
for(String code:subjectCodes) {
|
|
|
List<PropertyDto> props=getProperty(connect, code);
|
|
|
if(CollectionUtils.isNotEmpty(props)) {
|
|
|
+ total++;
|
|
|
FileUtil.writeFile(sourceDir+"prop/", code+".json", JSONObject.toJSONString(props));
|
|
|
}
|
|
|
}
|
|
|
+ System.out.println("文件数:"+total);
|
|
|
}
|
|
|
private static Set<String> readSubject() {
|
|
|
Set<String> list = new HashSet<>();
|