1.get_all_section_by_account调用方法修改

This commit is contained in:
whm
2025-11-01 14:03:04 +08:00
parent c7dc9b875a
commit 81b633e325

View File

@@ -411,7 +411,7 @@ def get_all_section_by_account(request: SectionByAccountRequest, db: Session = D
try: try:
account_id = request.account_id account_id = request.account_id
section_service = SectionDataService() 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( return DataResponse(
code=ResponseCode.SUCCESS, code=ResponseCode.SUCCESS,
message="查询成功", message="查询成功",