Commit 5710dcc4 authored by gary's avatar gary

。。

parent f8c5dd78
...@@ -51,7 +51,6 @@ public class OrgSyncJob extends QuartzJobBean { ...@@ -51,7 +51,6 @@ public class OrgSyncJob extends QuartzJobBean {
headers.put("Idap", "eddie.wu_v"); headers.put("Idap", "eddie.wu_v");
int pageSize = 1; int pageSize = 1;
try { try {
// todo 这里要加分页查询的参数
for (int i = 1; i <= pageSize; i++) { for (int i = 1; i <= pageSize; i++) {
String response = HttpUtil.get(orgSyncUrl+"?currentPage="+i, headers); String response = HttpUtil.get(orgSyncUrl+"?currentPage="+i, headers);
DDSyncOrgInfo ddSyncOrgInfo = JSONObject.parseObject(response, DDSyncOrgInfo.class); DDSyncOrgInfo ddSyncOrgInfo = JSONObject.parseObject(response, DDSyncOrgInfo.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment