重复车架处理调试

master
zcstatham 2 years ago
parent 0b61370790
commit 0ddb50e709
  1. 3
      extend/service/CarInfoHandle.php

@ -340,7 +340,6 @@ class CarInfoHandle
} }
RepeatFrameT::where('car_frame_no', $item->car_frame_no)->delete(); RepeatFrameT::where('car_frame_no', $item->car_frame_no)->delete();
$sources = []; $sources = [];
Log::record($source_data['id']);
break; break;
} else if ($source_a['car_phone'] == $source['car_phone']) { } else if ($source_a['car_phone'] == $source['car_phone']) {
if (trim($source_a['insurer1_date']) != trim($source['insurer1_date']) && (trim($source_a['insurer1_date']) == '' || $source_a['insurer1_date'] < $source['insurer1_date'])) { if (trim($source_a['insurer1_date']) != trim($source['insurer1_date']) && (trim($source_a['insurer1_date']) == '' || $source_a['insurer1_date'] < $source['insurer1_date'])) {
@ -429,7 +428,7 @@ class CarInfoHandle
} catch (\Exception $e) { } catch (\Exception $e) {
$faild_num++; $faild_num++;
Db::rollback(); Db::rollback();
Log::record($e->getMessage(), 'error'); Log::record($e->getTraceAsString(), 'error');
exit(); exit();
} }
$current++; $current++;

Loading…
Cancel
Save