From 29cddcaeb20936a57074ace7faf202e1697242d2 Mon Sep 17 00:00:00 2001 From: lqmac Date: Mon, 24 Jun 2024 22:54:00 +0800 Subject: [PATCH] 1 --- app/command/CalDealerTime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/command/CalDealerTime.php b/app/command/CalDealerTime.php index 6493aa25..374a8b43 100644 --- a/app/command/CalDealerTime.php +++ b/app/command/CalDealerTime.php @@ -110,7 +110,7 @@ class CalDealerTime extends Command { $normalUserIds = []; $list = (new User)->where(['user_type' => UserTypeEnum::MEMBER]) - ->whereDay('effective_time', $nowDay) + ->where('fx_effective_time', "<", $nowDay) ->field('user_id,user_type,effective_time') ->select(); if (!$list->isEmpty()) {