From 2366a215a21c658c1f0cd17f0926987e9689ce86 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 18 Jan 2021 13:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=96=E6=83=A9=E5=85=88=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E9=99=90=E5=88=B6=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StatementMangementController.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index 19f2096b4..10741d25b 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -524,10 +524,10 @@ class StatementMangementController extends ThinkController if ($id) { - $checkReward = $this->checkRewardDetail($settlmentSet); - if ($checkReward) { - return $this->error("奖惩确认时间需在结算时间以后,请重新选择"); - } +// $checkReward = $this->checkRewardDetail($settlmentSet); +// if ($checkReward) { +// return $this->error("奖惩确认时间需在结算时间以后,请重新选择"); +// } $upt = M('reward_record', 'tab_')->where(['id'=>$id])->save($data); if ($upt === false) { @@ -543,10 +543,10 @@ class StatementMangementController extends ThinkController } } else { - $checkReward = $this->checkRewardDetail($settlmentSet); - if ($checkReward) { - return $this->error("奖惩确认时间需在结算时间以后,请重新选择"); - } +// $checkReward = $this->checkRewardDetail($settlmentSet); +// if ($checkReward) { +// return $this->error("奖惩确认时间需在结算时间以后,请重新选择"); +// } $data['create_time'] = time(); $data['creater_id'] = is_login();