代码调整

This commit is contained in:
xy
2024-06-04 10:30:25 +08:00
parent ad8fcd8d33
commit 3141eaa72b
5 changed files with 18 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ public class OracleToMysqlDBJob {
@Scheduled(cron="0 0 7 * * ?")
public void executeEvent() {
// 获取当前时间
String date = DateUtil.format(LocalDateTime.now(), DatePattern.NORM_DATE_PATTERN);
String date = DateUtil.format(LocalDateTime.now().minusDays(1), DatePattern.NORM_DATE_PATTERN);
System.out.println("-----------------------------------------------------------------------");
oracleToMysqlService.insertDayHarmRateV(date,date);
oracleToMysqlService.insertPqsIntegrity(date,date);