@@ -704,8 +704,8 @@ class Test extends Command
$idMax = MassMsg::query()->where('is_draw', 1)->max('id');
while ($idMin < $idMax) {
- $list = DjOrder::query()
- ->whereNotNull('pid')
+ $list = MassMsg::query()
+ ->where('is_draw', 1)
->where('id', '>', $idMin)
->where('id', '<=', $idMax)
->orderBy('id', 'ASC')