|
|
@ -96,8 +96,7 @@ public class TianQingCLDASDataHandler { |
|
|
|
XxlJobHelper.log("read job end"); |
|
|
|
} |
|
|
|
|
|
|
|
public TianQingResponse<List<TianQingFileVO>> request(String timeRang, Map<String, Object> params) throws JsonProcessingException { |
|
|
|
synchronized (this){ |
|
|
|
public synchronized TianQingResponse<List<TianQingFileVO>> request(String timeRang, Map<String, Object> params) throws JsonProcessingException { |
|
|
|
if (results.containsKey(timeRang)){ |
|
|
|
return results.get(timeRang); |
|
|
|
} |
|
|
@ -115,10 +114,8 @@ public class TianQingCLDASDataHandler { |
|
|
|
|
|
|
|
index++; |
|
|
|
} |
|
|
|
|
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private Map<DealInfo, Map.Entry<MetaInfo, Coordinate>> download(List<TianQingFileVO> tianQingFileVOs, String elementCode, List<DealInfo> dealInfos){ |
|
|
|
Date afterTime = Date.from(LocalDateTime.now().minusMinutes(10).atZone(ZoneId.systemDefault()).toInstant()); |
|
|
|