数据同步修复
parent
d56f2c2621
commit
f25e0946ac
|
|
@ -22,7 +22,6 @@ import com.gunshi.project.xyt.service.StRiverRService;
|
|||
import com.gunshi.project.xyt.service.StRsvrRRealService;
|
||||
import com.gunshi.project.xyt.service.StRsvrRService;
|
||||
import com.gunshi.project.xyt.util.OkHttpUtil;
|
||||
import jakarta.annotation.PostConstruct;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import okhttp3.FormBody;
|
||||
import okhttp3.OkHttpClient;
|
||||
|
|
@ -238,7 +237,6 @@ public class DataTaskTSG {
|
|||
*/
|
||||
@Async
|
||||
@Scheduled(fixedRate = 5, timeUnit = TimeUnit.MINUTES)
|
||||
@PostConstruct
|
||||
public void getRiverData() {
|
||||
Date now = new Date();
|
||||
System.out.println("水情历史定时任务,执行时间:" + sdf.format(now));
|
||||
|
|
|
|||
Loading…
Reference in New Issue