groupBy('date', 'payment') ->get(); // table $this->table(['支付方式', '数量', '日期'], $balances->toArray()); return CommandAlias::SUCCESS; } }