diff --git a/Application/Admin/Controller/CompanyStatementOfflineController.class.php b/Application/Admin/Controller/CompanyStatementOfflineController.class.php index 475748270..062711b1f 100644 --- a/Application/Admin/Controller/CompanyStatementOfflineController.class.php +++ b/Application/Admin/Controller/CompanyStatementOfflineController.class.php @@ -544,6 +544,7 @@ class CompanyStatementOfflineController extends ThinkController $unPayData = SM("company_statement_info_part","tab_") ->field("sum(statement_money) statement_money,info_id") + ->where(["pay_status"=>0]) ->group("info_id") ->select();