|
@@ -39,6 +39,7 @@ class CircleMassMsgToRds extends Command
|
39
|
39
|
$datetime = date('Y-m-d H:i:s');
|
40
|
40
|
DB::beginTransaction();
|
41
|
41
|
$ruleInfo = CircleMassMsg::where('enable', 1)
|
|
42
|
+ ->where('status', 1)
|
42
|
43
|
->where('next_send_time', '<=', $datetime)
|
43
|
44
|
->orderBy('next_send_time')
|
44
|
45
|
->first();
|