1.get_all_section_by_account调用方法修改
This commit is contained in:
@@ -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="查询成功",
|
||||||
|
|||||||
Reference in New Issue
Block a user