From ccf27d77a1b9253924121424d82e4e0be58c5fbe Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 30 Oct 2020 11:53:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=9A=E7=BB=A9=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/TimingController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index e63eae694..3a1de8705 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -999,7 +999,7 @@ class TimingController extends AdminController { } if ($map['pay_time']) { M("settleup_marketorder","tab_") - ->where(['pay_time'=>$map['pay_time'],'is_settlement'=>0]) + ->where(['pay_time'=>$map['pay_time']]) ->delete(); } else { M("settleup_marketorder","tab_") @@ -1369,7 +1369,7 @@ class TimingController extends AdminController { ->add($promote_data[$key]); } else { M("settleup_marketorder","tab_") - ->where(['pay_time'=>$value['pay_time'],'promote_id'=>$value['promote_id'],'game_name'=>$value['game_name'],'admin_id'=>$value['admin_id']]) + ->where(['pay_time'=>$value['pay_time'],'promote_id'=>$value['promote_id'],'game_name'=>$value['game_name'],'admin_id'=>$value['admin_id'],'is_settlement'=>$value['is_settlement']]) ->save($promote_data[$key]); }