From d42cd15b0ba12e4c6b005eaacecfd173c9fb1063 Mon Sep 17 00:00:00 2001 From: zyx Date: Thu, 1 Oct 2020 16:04:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B1=87=E6=80=BB=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=9A=84=E6=93=8D=E4=BD=9C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/AggregateFinanceStatementController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AggregateFinanceStatementController.class.php b/Application/Admin/Controller/AggregateFinanceStatementController.class.php index 2fb7f7874..dca265b15 100644 --- a/Application/Admin/Controller/AggregateFinanceStatementController.class.php +++ b/Application/Admin/Controller/AggregateFinanceStatementController.class.php @@ -190,7 +190,7 @@ class AggregateFinanceStatementController extends ThinkController $this->error("参数错误"); } - if (!$_REQUEST['first_partner_id']) { + if (!$_REQUEST['first_partner_id']&&!$_REQUEST['first_partner_type']) { $this->error("编辑失败,聚合公司绑定关系未添加,请添加公司绑定关系后重算"); } From 4a7915ef69ee02b08fa530acceda820b34409033 Mon Sep 17 00:00:00 2001 From: zyx Date: Thu, 1 Oct 2020 16:12:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B1=87=E6=80=BB=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=9A=84=E6=93=8D=E4=BD=9C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/AggregateFinanceStatementController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AggregateFinanceStatementController.class.php b/Application/Admin/Controller/AggregateFinanceStatementController.class.php index dca265b15..00f678bb7 100644 --- a/Application/Admin/Controller/AggregateFinanceStatementController.class.php +++ b/Application/Admin/Controller/AggregateFinanceStatementController.class.php @@ -190,7 +190,7 @@ class AggregateFinanceStatementController extends ThinkController $this->error("参数错误"); } - if (!$_REQUEST['first_partner_id']&&!$_REQUEST['first_partner_type']) { + if (!$_REQUEST['first_party_info']['id']&&!$_REQUEST['first_partner_type']) { $this->error("编辑失败,聚合公司绑定关系未添加,请添加公司绑定关系后重算"); }