车架重复处理调试

master
zcstatham 2 years ago
parent df0f06fdd4
commit f16b690e22
  1. 3
      extend/service/CarInfoHandle.php

@ -389,7 +389,6 @@ class CarInfoHandle
CarInfoT::where('id', $source_a['id'])->update($source_a);
$this->repeatDataHandle($source, $id, 'frame');
$delete_num ++;
CarInfoT::destroy($source['id']);
unset($sources[$index]);
}
}
@ -400,7 +399,7 @@ class CarInfoHandle
} catch (\Exception $e) {
$faild_num++;
Db::rollback();
Log::record($e->getTraceAsString(), 'error');
Log::record($e->getMessage(), 'error');
}
$current++;
}

Loading…
Cancel
Save