|
@@ -60,7 +60,6 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
|
|
param.put("page", page);
|
|
param.put("page", page);
|
|
|
|
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
- System.err.println(result);
|
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
if (Check.isNull(resultJson)) {
|
|
if (Check.isNull(resultJson)) {
|
|
return;
|
|
return;
|
|
@@ -91,12 +90,7 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
|
|
material.setAccountId(accountId);
|
|
material.setAccountId(accountId);
|
|
addList.add(material);
|
|
addList.add(material);
|
|
}
|
|
}
|
|
- System.err.println("数据组装时间:" + (System.currentTimeMillis() - l1));
|
|
|
|
-
|
|
|
|
- long l2 = System.currentTimeMillis();
|
|
|
|
dailyMaterialMapper.batchReplace(addList);
|
|
dailyMaterialMapper.batchReplace(addList);
|
|
- System.err.println("数据入库时间:" + (System.currentTimeMillis() - l2));
|
|
|
|
getMaterialReportByAccountIdAndStatDate(accountId, token, startDate, endDate, page + 1);
|
|
getMaterialReportByAccountIdAndStatDate(accountId, token, startDate, endDate, page + 1);
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|