|
@@ -52,7 +52,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
params.put("orderCreateTimeEnd", orderCreateTimeEnd);
|
|
params.put("orderCreateTimeEnd", orderCreateTimeEnd);
|
|
}
|
|
}
|
|
// params.put("fundType", 1);
|
|
// params.put("fundType", 1);
|
|
- params.put("limit", 200);
|
|
|
|
|
|
+ params.put("limit", 100);
|
|
params.put("offset", offset);
|
|
params.put("offset", offset);
|
|
params.put("timeType", 1);
|
|
params.put("timeType", 1);
|
|
Map<String, String> headers = new HashMap<>();
|
|
Map<String, String> headers = new HashMap<>();
|
|
@@ -121,8 +121,8 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
orders.add(order);
|
|
orders.add(order);
|
|
}
|
|
}
|
|
jiaoYangFenXiaoMapper.replace(orders);
|
|
jiaoYangFenXiaoMapper.replace(orders);
|
|
- if (list.size() >= 200) {
|
|
|
|
- getOrderList(cookie, offset + 200, orderCreateTimeStart, orderCreateTimeEnd);
|
|
|
|
|
|
+ if (list.size() >= 100) {
|
|
|
|
+ getOrderList(cookie, offset + 100, orderCreateTimeStart, orderCreateTimeEnd);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -132,7 +132,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
Thread.sleep(500L);
|
|
Thread.sleep(500L);
|
|
Map<String, Object> params = new HashMap<>();
|
|
Map<String, Object> params = new HashMap<>();
|
|
params.put("status", status);
|
|
params.put("status", status);
|
|
- params.put("limit", 200);
|
|
|
|
|
|
+ params.put("limit", 10);
|
|
params.put("offset", offset);
|
|
params.put("offset", offset);
|
|
Map<String, String> headers = new HashMap<>();
|
|
Map<String, String> headers = new HashMap<>();
|
|
headers.put("Cookie", cookie);
|
|
headers.put("Cookie", cookie);
|
|
@@ -190,8 +190,8 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
|
|
|
|
|
|
}
|
|
}
|
|
jiaoYangFenXiaoMapper.replaceClipCooperation(adds);
|
|
jiaoYangFenXiaoMapper.replaceClipCooperation(adds);
|
|
- if (list.size() >= 200) {
|
|
|
|
- getClipCooperation(cookie, offset + 200, statDate, status);
|
|
|
|
|
|
+ if (list.size() >= 10) {
|
|
|
|
+ getClipCooperation(cookie, offset + 10, statDate, status);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|