|
|
|
@ -320,18 +320,12 @@ class CarInfoHandle |
|
|
|
|
Db::startTrans(); |
|
|
|
|
try { |
|
|
|
|
foreach ($sources as $index => $source) { |
|
|
|
|
echo $index.PHP_EOL; |
|
|
|
|
var_dump($sources); |
|
|
|
|
if (empty(trim($source['car_phone']))) { |
|
|
|
|
echo '开始循环'.PHP_EOL; |
|
|
|
|
foreach ($sources as $source_data) { |
|
|
|
|
echo '循环:'.$source_data['id'].PHP_EOL; |
|
|
|
|
$this->repeatDataHandle($source_data, $id, 'frame'); |
|
|
|
|
$delete_num ++; |
|
|
|
|
} |
|
|
|
|
echo '循环over'.PHP_EOL; |
|
|
|
|
RepeatFrameT::where('car_frame_no', $item->car_frame_no)->delete(); |
|
|
|
|
echo '循环over'.PHP_EOL; |
|
|
|
|
$sources = []; |
|
|
|
|
Log::record($source_data['id']); |
|
|
|
|
break; |
|
|
|
|