|
|
@@ -64,6 +64,9 @@ class ViolationProductJobs implements ShouldQueue
|
|
|
$totle_page = 0;
|
|
|
$list_config_data = $ConfigViolationProductModel->with(['product_keyword'])->paginate($limit, ['*'], 'page', $page)->toarray();
|
|
|
if (!$list_config_data || empty($list_config_data['data'])) {
|
|
|
+ if($page == 1 && $executeLog_id){
|
|
|
+ $ExecuteLogModel->where('id', $executeLog_id)->update(['status' => 0,'update_time'=> time()]);
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
$totle_page = $list_config_data['last_page'];
|