Merge branch 'main' of https://gitea.sz.gts.echo-isoftstone.cn/CSG/ai-china-southern-power-grid
This commit is contained in:
commit
5097ccd51f
@ -7,7 +7,6 @@ import com.southern.power.grid.entity.RegionalWeatherData;
|
|||||||
import com.southern.power.grid.service.IRegionalWeatherDataService;
|
import com.southern.power.grid.service.IRegionalWeatherDataService;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.scheduling.annotation.Async;
|
|
||||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
@ -40,7 +39,6 @@ public class RegionalWeatherDataServiceImpl extends ServiceImpl<RegionalWeatherD
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Async
|
|
||||||
public void syncOldWeatherData(String startDate, String endDate) {
|
public void syncOldWeatherData(String startDate, String endDate) {
|
||||||
log.info("开始执行历史气象数据同步任务,起始时间: {},终止时间:{}", startDate, endDate);
|
log.info("开始执行历史气象数据同步任务,起始时间: {},终止时间:{}", startDate, endDate);
|
||||||
LocalDateTime startTime;
|
LocalDateTime startTime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user