From 220d851f60727c7b85cdd96a333a570ddf41cb7d Mon Sep 17 00:00:00 2001 From: rk <94314517@qq.com> Date: 星期二, 14 十月 2025 14:13:12 +0800 Subject: [PATCH] 定时自动叫号 与 WMS获取车辆是否在园接口开发 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/BoardServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/BoardServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/BoardServiceImpl.java index 552d487..3cef32f 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/BoardServiceImpl.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/BoardServiceImpl.java @@ -2373,7 +2373,8 @@ .selectAs(Platform::getName,PlatformWarnEvent::getPlatformName) .leftJoin(Platform.class,Platform::getId,PlatformJob::getPlatformId) .eq(PlatformWarnEvent::getIsdeleted,Constants.ZERO) - .apply("to_days(t.create_date) = to_days(now())") + //.apply(" to_days(t.create_date) = to_days(now()) ") + .apply(" ( t.create_date > now() - INTERVAL 10 MINUTE ) ") .orderByDesc(PlatformWarnEvent::getCreateDate) .last(" limit "+limit) ); -- Gitblit v1.9.3