From 0225ae9ba46e16be0cc3634188d92e9cd7a35cd4 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 31 Jan 2023 16:54:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=A4=9A=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=81=AB=E7=82=B9=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=9C=80=E6=97=A9=E5=BC=80=E5=A7=8B=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/utils/FirePointQueryHelper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/xkrs/utils/FirePointQueryHelper.java b/src/main/java/com/xkrs/utils/FirePointQueryHelper.java index 4a5f1a2..08c5ac6 100644 --- a/src/main/java/com/xkrs/utils/FirePointQueryHelper.java +++ b/src/main/java/com/xkrs/utils/FirePointQueryHelper.java @@ -47,10 +47,10 @@ public class FirePointQueryHelper { e.printStackTrace(); } } - //限制最早开始时间不得早于一个月 - LocalDateTime lastMonth1 = LocalDateTime.now().minusDays(30); - LocalDateTime lastMonth2 = LocalDateTime.of(lastMonth1.getYear(), lastMonth1.getMonth(), lastMonth1.getDayOfMonth(), 0, 0, 0, 0); - String lastMonthString = DateTimeUtils.localDateTimeToString(lastMonth2); +// //限制最早开始时间不得早于一个月 +// LocalDateTime lastMonth1 = LocalDateTime.now().minusDays(30); +// LocalDateTime lastMonth2 = LocalDateTime.of(lastMonth1.getYear(), lastMonth1.getMonth(), lastMonth1.getDayOfMonth(), 0, 0, 0, 0); +// String lastMonthString = DateTimeUtils.localDateTimeToString(lastMonth2); // predicateList.add(criteriaBuilder.greaterThanOrEqualTo(root.get("satelliteTime").as(String.class), lastMonthString)); //开始时间查询条件 if (!TextUtils.isEmpty(startTime)) {