diff --git a/app/Domains/Virtual/Commands/Schedule/VdActivated.php b/app/Domains/Virtual/Commands/Schedule/VdActivated.php index a053a148..7df32d94 100644 --- a/app/Domains/Virtual/Commands/Schedule/VdActivated.php +++ b/app/Domains/Virtual/Commands/Schedule/VdActivated.php @@ -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[] = [