|
|
@ -110,7 +110,7 @@ class CalDealerTime extends Command |
|
|
|
{ |
|
|
|
{ |
|
|
|
$normalUserIds = []; |
|
|
|
$normalUserIds = []; |
|
|
|
$list = (new User)->where(['user_type' => UserTypeEnum::MEMBER]) |
|
|
|
$list = (new User)->where(['user_type' => UserTypeEnum::MEMBER]) |
|
|
|
->whereDay('effective_time', $nowDay) |
|
|
|
->where('fx_effective_time', "<", $nowDay) |
|
|
|
->field('user_id,user_type,effective_time') |
|
|
|
->field('user_id,user_type,effective_time') |
|
|
|
->select(); |
|
|
|
->select(); |
|
|
|
if (!$list->isEmpty()) { |
|
|
|
if (!$list->isEmpty()) { |
|
|
|