浏览代码

报告分数字段

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": []
     }