diff --git a/app/api/comprehensive_data.py b/app/api/comprehensive_data.py index 082caf0..714f0f1 100644 --- a/app/api/comprehensive_data.py +++ b/app/api/comprehensive_data.py @@ -411,7 +411,7 @@ def get_all_section_by_account(request: SectionByAccountRequest, db: Session = D try: account_id = request.account_id section_service = SectionDataService() - result_data = section_service.get_by_section_id(db, account_id=account_id) + result_data = section_service.get_by_account_id(db, account_id=account_id) return DataResponse( code=ResponseCode.SUCCESS, message="查询成功",