|
|
@ -393,9 +393,9 @@ class DatabaseController extends BaseController |
|
|
|
foreach($ids as $id) { |
|
|
|
foreach($ids as $id) { |
|
|
|
$car_info = CarT::findOne(['id'=>$id]); |
|
|
|
$car_info = CarT::findOne(['id'=>$id]); |
|
|
|
if($car_info->location == 1) { |
|
|
|
if($car_info->location == 1) { |
|
|
|
if($car_info->qiyong==2){ |
|
|
|
// if($car_info->qiyong==2){ |
|
|
|
continue; |
|
|
|
// continue; |
|
|
|
} |
|
|
|
// } |
|
|
|
$car_info->location = 2; |
|
|
|
$car_info->location = 2; |
|
|
|
$car_info->save(); |
|
|
|
$car_info->save(); |
|
|
|
|
|
|
|
|
|
|
|