Commit 977d069dc7f65d8b3cae292c01fa3a3f853eaac1

Authored by yiming
1 parent 34a4bd09

路单审计报表改为T+2

src/main/java/com/bsth/service/calc/impl/CalcWaybillAuditServiceImpl.java
@@ -46,10 +46,10 @@ public class CalcWaybillAuditServiceImpl implements CalcWaybillAuditService { @@ -46,10 +46,10 @@ public class CalcWaybillAuditServiceImpl implements CalcWaybillAuditService {
46 Logger logger = LoggerFactory.getLogger(this.getClass()); 46 Logger logger = LoggerFactory.getLogger(this.getClass());
47 47
48 48
49 - //统计3天前的数据 49 + //统计2天前的数据
50 @Scheduled(cron = "0 0 2 * * *") 50 @Scheduled(cron = "0 0 2 * * *")
51 public void clear() { 51 public void clear() {
52 - LocalDate dateTime = LocalDate.now().minusDays(3); 52 + LocalDate dateTime = LocalDate.now().minusDays(2);
53 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); 53 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
54 /* dateTime= LocalDate.parse("2025-03-03",formatter);*/ 54 /* dateTime= LocalDate.parse("2025-03-03",formatter);*/
55 String date = dateTime.format(formatter); 55 String date = dateTime.format(formatter);