| | |
| | | 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; |
| | |
| | | @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() |