|
|
@@ -136,7 +136,7 @@ public class DianZhongServiceImpl implements IDianZhongService {
|
|
|
String url = task.getString("url");
|
|
|
String type = task.getString("type");
|
|
|
String clientId = task.getString("client_id");
|
|
|
- log.info("下载点众数据");
|
|
|
+ log.info("开始下载点众数据 taskId:{}, clientId:{}, type:{}", taskId, clientId, type);
|
|
|
downloadFileRestTemplate.execute(url, org.springframework.http.HttpMethod.GET, null,
|
|
|
(ResponseExtractor<Void>) response -> {
|
|
|
try (BufferedReader reader = new BufferedReader(
|
|
|
@@ -156,6 +156,7 @@ public class DianZhongServiceImpl implements IDianZhongService {
|
|
|
return null;
|
|
|
});
|
|
|
dianZhongMapper.updateTaskDownloaded(taskId);
|
|
|
+ log.info("下载点众数据成功 taskId:{}, clientId:{}, type:{}", taskId, clientId, type);
|
|
|
}
|
|
|
}
|
|
|
}
|