From 1243f63057cb37e9cd390c4f608885df4d55b404 Mon Sep 17 00:00:00 2001
From: zcstatham <578322713@qq.com>
Date: Sat, 3 Sep 2022 17:33:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/view/index/index.html | 7 ++++---
extend/service/CarInfoHandle.php | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/app/view/index/index.html b/app/view/index/index.html
index 305d020..aac3ac1 100644
--- a/app/view/index/index.html
+++ b/app/view/index/index.html
@@ -95,12 +95,13 @@
diff --git a/extend/service/CarInfoHandle.php b/extend/service/CarInfoHandle.php
index 7de4ec1..2439ee8 100644
--- a/extend/service/CarInfoHandle.php
+++ b/extend/service/CarInfoHandle.php
@@ -486,7 +486,7 @@ class CarInfoHandle
if ($is_update_failed > 0) {
CarInfoT::where('is_export_failed', $is_update_failed)
->update(['is_export_failed' => 0, 'is_update_bhx' => Db::raw('is_update_bhx - 1')]);
- } else if ($car_info && $car_info->is_update_bhx <= 0) {
+ } else {
CarInfoT::where('is_update_bhx', 0)
->where('is_export_bhx', $car_info->is_export_bhx)
->update(['is_update_bhx' => -1]);