|
...
|
...
|
@@ -12,6 +12,7 @@ use App\Services\ProjectServer; |
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
|
|
|
class Count extends Command
|
|
|
|
{
|
|
...
|
...
|
@@ -82,7 +83,7 @@ class Count extends Command |
|
|
|
DB::table('gl_count')->insert($data);
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
|
|
|
|
|
|
|
Log::error('同步数据执行失败');
|
|
|
|
}
|
|
|
|
echo $this->error;
|
|
|
|
}
|
...
|
...
|
|