|
@@ -285,6 +285,16 @@ public class RWDDownloadUtil {
|
|
String post_url = Constant.zkt_dmp_url + "/rwd/def/class?projectId=" + RepositoryContainer.RepositoryProject.projectId + "&groupCode="
|
|
String post_url = Constant.zkt_dmp_url + "/rwd/def/class?projectId=" + RepositoryContainer.RepositoryProject.projectId + "&groupCode="
|
|
+ RepositoryContainer.RepositoryProject.groupCode;
|
|
+ RepositoryContainer.RepositoryProject.groupCode;
|
|
classArray = post_zkt_dmp(post_url, param);
|
|
classArray = post_zkt_dmp(post_url, param);
|
|
|
|
+ //过滤部件
|
|
|
|
+ {
|
|
|
|
+ for (int i = classArray.size() - 1; i >= 0; i--) {
|
|
|
|
+ JSONObject item = (JSONObject) classArray.get(i);
|
|
|
|
+ String code = item.getString("code");
|
|
|
|
+ if (code.length() == 8 && code.equals(code.toUpperCase())) {
|
|
|
|
+ classArray.remove(i);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
FileUtil.Save(path + Constant.getSeperator() + "classArray.json", FastJsonUtil.toFormatString(classArray), LogOfDownload.downloadList);
|
|
FileUtil.Save(path + Constant.getSeperator() + "classArray.json", FastJsonUtil.toFormatString(classArray), LogOfDownload.downloadList);
|
|
}
|
|
}
|
|
for (int i = 0; i < classArray.size(); i++) {
|
|
for (int i = 0; i < classArray.size(); i++) {
|