|
|
|
@ -591,7 +591,7 @@ class CarInfoHandle |
|
|
|
|
'update_timestamp' => $now |
|
|
|
|
]; |
|
|
|
|
// 有效车架号且存在更新并清除状态 |
|
|
|
|
if (strlen($frame_no) == 17 && ($old = Db::name('car_info_t')->where('car_frame_no', $frame_no)->value('id'))) { |
|
|
|
|
if (strlen($frame_no) == 17 && ($old = Db::name('car_info_t')->where('car_frame_no', $frame_no)->find())) { |
|
|
|
|
foreach ($update_keys as $key) { |
|
|
|
|
if (empty($row_array[$key])) |
|
|
|
|
$row_array[$key] = $old[$key]; |
|
|
|
|