qiyong屏蔽掉

master
zhangxiaoli 5 years ago
parent 37b2d8ecde
commit 69edde5fb3
  1. 6
      frontend/controllers/DatabaseController.php

@ -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();

Loading…
Cancel
Save