From 0ac831dece56e3503393ed7194bcbc9531eaf3ef Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 6 Jul 2020 16:43:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E7=8E=87=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/MarketPercentageController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index 1f6448f21..877e4a82d 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -704,6 +704,10 @@ class MarketPercentageController extends ThinkController ->where(['time'=>strtotime($data['timestart'])]) ->find(); + M("tax_radio","tab_") + ->where(['time'=>['gt',strtotime($data['timestart'])]]) + ->delete(); + if ($is_hav) { $is_save = M("tax_radio","tab_") ->where(['time'=>strtotime($data['timestart'])])