From b784514b4c5414e3deb121f723fae6d8d875f4e5 Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期一, 10 七月 2023 16:52:38 +0800
Subject: [PATCH] 提交更新
---
src/main/java/com/boying/job/ReadFileScheduled2.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/boying/job/ReadFileScheduled2.java b/src/main/java/com/boying/job/ReadFileScheduled2.java
index f4e134a..3baa9ab 100644
--- a/src/main/java/com/boying/job/ReadFileScheduled2.java
+++ b/src/main/java/com/boying/job/ReadFileScheduled2.java
@@ -9,6 +9,7 @@
import com.boying.service.OrderRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.io.IOException;
@@ -36,12 +37,12 @@
@Autowired
private ErrorLogService errorLogService;
- //@Scheduled(cron = "0 30 14 * * ?")
+ //@Scheduled(cron = "0 40 18 * * ?")
public void execute() throws Exception {
- Path path = Paths.get("E:\\ycCheckBill\\Bank_PSBC_20230422.txt");
+ Path path = Paths.get("E:\\ycCheckBill\\Bank_PSBC_20230421.txt");
- DateTime start = DateUtil.parse( "2023-04-21 22:30:00");
- DateTime end = DateUtil.parse("2023-04-22 22:29:59");
+ DateTime start = DateUtil.parse( "2023-04-20 22:30:00");
+ DateTime end = DateUtil.parse("2023-04-21 22:29:59");
QueryWrapper<OrderRecord> wrapper = new QueryWrapper<>();
wrapper.lambda()
--
Gitblit v1.9.1