|
@@ -40,6 +40,7 @@ public class KuaishouSupplyChainServiceImpl extends ServiceImpl<KuaishouSupplyCh
|
|
|
|
|
|
@Override
|
|
|
public void getOrderList(String cookie, Integer offset, Long orderCreateTimeStart, Long orderCreateTimeEnd, Map<Long, Long> itemMap) throws Exception {
|
|
|
+ Thread.sleep(5000L);
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
if (!Check.isNull(orderCreateTimeStart)) {
|
|
|
params.put("orderCreateTimeStart", orderCreateTimeStart);
|
|
@@ -113,7 +114,6 @@ public class KuaishouSupplyChainServiceImpl extends ServiceImpl<KuaishouSupplyCh
|
|
|
supplyChains.add(supplyChain);
|
|
|
}
|
|
|
supplyChainMapper.replace(supplyChains);
|
|
|
- Thread.sleep(5000L);
|
|
|
if (list.size() >= 5000) {
|
|
|
getOrderList(cookie, offset + 5000, orderCreateTimeStart, orderCreateTimeEnd, itemMap);
|
|
|
}
|