From 89004169f6a1a4b79289292c6abf0c717654f4cb Mon Sep 17 00:00:00 2001 From: zcstatham <578322713@qq.com> Date: Mon, 12 Sep 2022 22:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=A4=8D=E8=BD=A6=E6=9E=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E8=AF=9512?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/RepeatDataT.php | 14 ++++++++++++++ extend/service/CarInfoHandle.php | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 app/model/RepeatDataT.php diff --git a/app/model/RepeatDataT.php b/app/model/RepeatDataT.php new file mode 100644 index 0000000..1e989b2 --- /dev/null +++ b/app/model/RepeatDataT.php @@ -0,0 +1,14 @@ +', '']], $map_or2); } if ($data['export_type'] == 'repeat_delete') - $query = Db::table('repeat_data_t')->alias('car_info_t')->where(empty($where) ? 1:$where) + $query = RepeatDataT::alias('car_info_t')->where(empty($where) ? 1:$where) ->where(function ($query) use ($map_or1, $map_or2) { if (count($map_or1) > 0 && count($map_or2) > 0) { $query->whereOr([$map_or1, $map_or2]);