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