From db75b45e9a7ce347162b8d3a36e4a7f46cfe199e Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 10 二月 2025 15:30:18 +0800
Subject: [PATCH] 核算导出单独对录像扣分的数量做处理

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

diff --git a/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
index bbd8c77..6852b2a 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CalculateReportMapper.xml
@@ -151,6 +151,7 @@
         a.rule_name as ruleName,
         a.rule_condition as detailName,
         COUNT(b.id) AS num,
+        a.calc_fraction as calcFraction,
         IFNULL(-SUM(b.score), 0) AS score
         FROM t_calculate_rule a
         LEFT JOIN t_calculate_record tcr ON a.contract_id = tcr.contract_id

--
Gitblit v1.8.0