From 71e6dc7824780c223e594add97c09773335e8af1 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 31 七月 2024 18:20:27 +0800
Subject: [PATCH] 车辆、人脸 点位在线率、视图库对接稳定性 任务

---
 ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
index a5e761d..a3c9adf 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
@@ -104,8 +104,7 @@
         SELECT
             SUBSTRING_INDEX(rule_name, '/', 1) AS rule_name,
             COUNT(*) AS num,
-            SUM(score) AS score,
-            (100 - SUM(score)) AS surplusScore
+            -SUM(score) AS score
         FROM t_contract_score
         WHERE contract_id = #{contractId} AND auditing_status = 'PASS' AND deleted = 0
         GROUP BY SUBSTRING_INDEX(rule_name, '/', 1)

--
Gitblit v1.8.0