From 040c6dcf2bc3802784f19036dea21a2e88be5c55 Mon Sep 17 00:00:00 2001 From: hanrenchun Date: Wed, 21 Feb 2024 10:36:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../database/controller/TransitUserRecordController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gather-app/src/main/java/com/ruoyi/database/controller/TransitUserRecordController.java b/gather-app/src/main/java/com/ruoyi/database/controller/TransitUserRecordController.java index b78d278..5574950 100644 --- a/gather-app/src/main/java/com/ruoyi/database/controller/TransitUserRecordController.java +++ b/gather-app/src/main/java/com/ruoyi/database/controller/TransitUserRecordController.java @@ -69,8 +69,8 @@ public class TransitUserRecordController extends BaseController { }else if (transitUserRecord.getDeviceCode() == null){ LocalDateTime now = LocalDateTime.now(); LocalDateTime minusDay = now.minusDays(1); - queryWrapper.in("device_code",collect) - .and(wrapper -> wrapper.isNotNull("id_card").or().isNotNull("user_name")); + queryWrapper.in("device_code",collect); +// .and(wrapper -> wrapper.isNotNull("id_card").or().isNotNull("user_name")); queryWrapper.between("partition_field", formatter.format(minusDay), formatter.format(now)); } queryWrapper.orderByDesc("partition_field");