|
|
@@ -9,6 +9,7 @@ use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
+use Illuminate\Support\Facades\Log;
|
|
|
|
|
|
class LaborApplyRecordJob implements ShouldQueue
|
|
|
{
|
|
|
@@ -37,6 +38,7 @@ class LaborApplyRecordJob implements ShouldQueue
|
|
|
*/
|
|
|
public function handle()
|
|
|
{
|
|
|
+ Log::debug("LaborApplyRecordJob isAppend = {$this->isAppend}");
|
|
|
$response = $this->service->allocationLaborToLaborCompany($this->isAppend);
|
|
|
if (!$response['success']) throw new WarningException($response['error_message']);
|
|
|
}
|