소스 검색

报告分数字段

AnlaAnla 1 주 전
부모
커밋
884fcebb28
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/rating_report.py

+ 1 - 1
app/api/rating_report.py

@@ -142,7 +142,7 @@ def generate_rating_report(
         "cornerFrontNum": 0,
         "sideFrontNum": 0,
         "surfaceFrontNum": 0,
-        "scoreThreshold": float(card_data.get("detection_score") or 0),
+        "scoreThreshold": float(card_data.get("modified_score") or 0),
         "evaluateNo": str(card_data.get("id")),
         "defectDetailList": []
     }