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("编辑失败,聚合公司绑定关系未添加,请添加公司绑定关系后重算"); }