响应格式修改,原始数据查询修改
This commit is contained in:
@@ -168,7 +168,7 @@ class ComprehensiveDataService:
|
||||
}
|
||||
|
||||
def get_level_and_original_data(self, db: Session,
|
||||
account_id: int,
|
||||
account_id: Optional[int] = None,
|
||||
id: Optional[int] = None,
|
||||
bfpcode: Optional[str] = None,
|
||||
bffb: Optional[str] = None,
|
||||
@@ -180,7 +180,7 @@ class ComprehensiveDataService:
|
||||
|
||||
Args:
|
||||
db: 数据库会话
|
||||
account_id: 账号ID,必填
|
||||
account_id: 账号ID,可选。不填则查询所有分表
|
||||
其他查询条件...
|
||||
|
||||
Returns:
|
||||
@@ -193,7 +193,7 @@ class ComprehensiveDataService:
|
||||
linecode=linecode
|
||||
)
|
||||
|
||||
# 查询原始数据 - 传递account_id
|
||||
# 查询原始数据 - account_id可选
|
||||
original_data = self.original_service.search_original_data(
|
||||
db,
|
||||
account_id=account_id,
|
||||
|
||||
Reference in New Issue
Block a user