From 972f9acbc74dd1c49ccb96138203f396fb751da9 Mon Sep 17 00:00:00 2001 From: pengwei Date: Tue, 11 Nov 2025 09:41:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BB=B4=E6=9D=83=E7=9D=A3=E5=AF=9F?= =?UTF-8?q?=E3=80=81=E5=AE=A1=E8=AE=A1=E7=9B=91=E7=9D=A3=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E9=97=AE=E9=A2=98=E6=B6=88=E8=B4=B9=EF=BC=88?= =?UTF-8?q?1=E3=80=81=E7=BB=B4=E6=9D=83=E7=9D=A3=E5=8A=9E=EF=BC=9A?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=A1=88=E4=BB=B6=E7=B1=BB=E5=9E=8B=EF=BC=8C?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=97=A0=E9=9C=80=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E7=BB=B4=E6=9D=83=E6=A1=88=E4=BB=B6=E3=80=82=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=202=E3=80=81?= =?UTF-8?q?=E7=BB=B4=E6=9D=83=E5=88=97=E8=A1=A8=EF=BC=9A=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=BB=B4=E6=9D=83=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD=E3=80=82?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=203=E3=80=81=E5=B7=A6=E5=8F=B3=E6=8B=89=E5=8A=A8=E7=9A=84?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E8=BD=B4=E5=8A=A0=E5=AE=BD=EF=BC=9B=E5=AE=A1?= =?UTF-8?q?=E8=AE=A1=E7=9B=91=E7=9D=A3=E5=8F=B0=E8=B4=A6-=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6=E4=B8=8E=E9=99=84=E4=BB=B6=E5=8E=8B=E7=BC=A9=E5=8C=85?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=97=A0=E6=B3=95=E5=AF=B9=E5=BA=94=E3=80=82?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=204=E3=80=81=E7=A7=BB=E5=8A=A8=E7=9D=A3=E5=AF=9F=EF=BC=9A?= =?UTF-8?q?=E7=9D=A3=E5=AF=9F=E9=97=AE=E9=A2=98=E7=BC=96=E8=BE=91=EF=BC=9A?= =?UTF-8?q?=E6=B6=89=E5=8F=8A=E5=8D=95=E4=BD=8D=E3=80=81=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E6=9D=A5=E6=BA=90=E5=B1=95=E7=A4=BA=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9=E3=80=82?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=205=E3=80=81=E4=BA=BA=E5=91=98=E6=8A=BD=E6=A3=80-=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E6=8A=BD=E6=A3=80=E4=BA=BA=E5=91=98=EF=BC=9A=E8=A1=A5?= =?UTF-8?q?=E5=85=851=E4=BD=8D=E4=BA=BA=E5=91=98=E5=90=8E=E5=8E=9F?= =?UTF-8?q?=E5=90=8D=E5=8D=9520=E4=BA=BA=E5=91=98=E4=B8=8D=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E3=80=82=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=206=E3=80=81=E6=8A=BD=E6=A3=80=E4=BA=BA?= =?UTF-8?q?=E5=91=98=EF=BC=9A=E6=97=A0=E6=B3=95=E5=AF=BC=E5=87=BA=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=95=B0=E6=8D=AE=E5=BA=93=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E3=80=82=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/biutag/supervision/job/Job.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/biutag/supervision/job/Job.java b/src/main/java/com/biutag/supervision/job/Job.java index d7f7523..b974441 100644 --- a/src/main/java/com/biutag/supervision/job/Job.java +++ b/src/main/java/com/biutag/supervision/job/Job.java @@ -134,11 +134,11 @@ public class Job { log.info("维权信息抓取中---------------------"); // 维权 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - Date startTime = sdf.parse("2025-01-01 00:00:00"); - Date endTime = sdf.parse("2025-12-30 00:00:00"); +// Date startTime = sdf.parse("2025-01-01 00:00:00"); +// Date endTime = sdf.parse("2025-12-30 00:00:00"); -// Date startTime = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant()); -// Date endTime = Date.from(LocalDateTime.now().minusDays(1).withHour(23).withMinute(59).withSecond(59).atZone(ZoneId.systemDefault()).toInstant()); + Date startTime = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant()); + Date endTime = Date.from(LocalDateTime.now().minusDays(1).withHour(23).withMinute(59).withSecond(59).atZone(ZoneId.systemDefault()).toInstant()); //获取过滤关键字