优化提示
This commit is contained in:
parent
8bfea4dfc5
commit
bdff9f28bb
@ -42,8 +42,6 @@ class VdActivated extends Command
|
||||
$this->line('chunk');
|
||||
|
||||
foreach (array_chunk($cards, 1000) as $simArray) {
|
||||
echo '.';
|
||||
|
||||
$simArray = array_map('strval', $simArray);
|
||||
|
||||
$res = TblCard::select(['cNo', 'saDate'])
|
||||
@ -52,7 +50,12 @@ class VdActivated extends Command
|
||||
->where('saDate', '>=', $startMicrotime)
|
||||
->get()->toArray();
|
||||
|
||||
if(empty($res)){
|
||||
echo '.';
|
||||
}
|
||||
|
||||
if (!empty($res)) {
|
||||
echo '*';
|
||||
$array = [];
|
||||
foreach ($res as $item) {
|
||||
$array[] = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user