|
|
@@ -36,7 +36,7 @@ def _build_history_detail_response(row: dict, report_data: dict) -> dict:
|
|
|
}
|
|
|
|
|
|
|
|
|
-@router.get("/generate", status_code=200, summary="生成评级报告数据")
|
|
|
+@router.get("/generate", status_code=200, summary="生成评级报告数据 [用户调用]")
|
|
|
def generate_rating_report(
|
|
|
cardNo: str,
|
|
|
db_conn: PooledMySQLConnection = Depends(get_db_connection)
|
|
|
@@ -208,7 +208,7 @@ def generate_rating_report(
|
|
|
return response_data
|
|
|
|
|
|
|
|
|
-@router.get("/history", status_code=200, summary="根据 cardNo 查询评级报告历史列表")
|
|
|
+@router.get("/history", status_code=200, summary="根据 cardNo 查询评级报告历史列表 [用户调用]")
|
|
|
def get_rating_report_history_list(
|
|
|
cardNo: str,
|
|
|
skip: int = Query(0, ge=0),
|
|
|
@@ -265,7 +265,7 @@ def get_rating_report_history_list(
|
|
|
}
|
|
|
|
|
|
|
|
|
-@router.get("/history/compare", status_code=200, summary="根据两个 rating_id 对比历史缺陷差异")
|
|
|
+@router.get("/history/compare", status_code=200, summary="根据两个 rating_id 对比历史缺陷差异 [用户调用]")
|
|
|
def compare_rating_report_history(
|
|
|
rating_id1: int = Query(..., description="第一个历史记录 ID"),
|
|
|
rating_id2: int = Query(..., description="第二个历史记录 ID"),
|
|
|
@@ -317,7 +317,7 @@ def compare_rating_report_history(
|
|
|
}
|
|
|
|
|
|
|
|
|
-@router.get("/history/{rating_id}", status_code=200, summary="根据 rating_id 查询单个评级报告历史")
|
|
|
+@router.get("/history/{rating_id}", status_code=200, summary="根据 rating_id 查询单个评级报告历史 [用户调用]")
|
|
|
def get_rating_report_history_detail(
|
|
|
rating_id: int,
|
|
|
db_conn: PooledMySQLConnection = Depends(get_db_connection)
|