From 08d235c03a588cd32b7e8aa519ad00f4cf4559a8 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 29 Dec 2020 10:02:08 +0800 Subject: [PATCH] =?UTF-8?q?12.28=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/StatementMangementController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index 8dd589ec4..19f2096b4 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -508,9 +508,9 @@ class StatementMangementController extends ThinkController } //dd($settlment_info); // 更新结算信息 -// if ($id) { -// M('reward_detail', 'tab_')->where(['record_id'=>$id])->delete(); -// } + if ($id) { + M('reward_detail', 'tab_')->where(['record_id'=>$id])->delete(); + } if (!empty($settlment_info[RewardModel::REWARD_TYPE_REWARD]) && !empty($settlment_info[RewardModel::REWARD_TYPE_PUNISH])) { $data['reward_type'] = RewardModel::REWARD_TYPE_ALL; } else if (!empty($settlment_info[RewardModel::REWARD_TYPE_REWARD])) {