From 353cf91d3679e68d9b8c07652e4f7791d606dbd4 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 15 十一月 2024 15:14:39 +0800 Subject: [PATCH] 代码提交 --- xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/impl/MeditationEverydayServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/impl/MeditationEverydayServiceImpl.java b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/impl/MeditationEverydayServiceImpl.java index 0cc3234..ae3fdeb 100644 --- a/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/impl/MeditationEverydayServiceImpl.java +++ b/xinquan-modules/xinquan-meditation/src/main/java/com/xinquan/meditation/service/impl/MeditationEverydayServiceImpl.java @@ -53,8 +53,8 @@ String now = DateUtils.dateTimeNow("HH:mm:ss"); // 查询播放时间段在当前时间的每日冥想 Optional<MeditationEveryday> meditationEverydayOpt = this.lambdaQuery() - .ge(MeditationEveryday::getStartPlayTime, now) - .le(MeditationEveryday::getEndPlayTime, now) + .le(MeditationEveryday::getStartPlayTime, now) + .ge(MeditationEveryday::getEndPlayTime, now) .orderByDesc(MeditationEveryday::getUpdateTime) .last("limit 1").oneOpt(); if (!meditationEverydayOpt.isPresent()) { -- Gitblit v1.7.1