From 3e0593d46ea7919755a8737e8c12e7613c3f67ca Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Sun, 14 May 2023 00:46:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cm/bigdata/service/kpi/task/sub/KpiKhxzDdyCRunnable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/cm/bigdata/service/kpi/task/sub/KpiKhxzDdyCRunnable.java b/src/main/java/com/cm/bigdata/service/kpi/task/sub/KpiKhxzDdyCRunnable.java index c5b760f..51b3b30 100644 --- a/src/main/java/com/cm/bigdata/service/kpi/task/sub/KpiKhxzDdyCRunnable.java +++ b/src/main/java/com/cm/bigdata/service/kpi/task/sub/KpiKhxzDdyCRunnable.java @@ -51,7 +51,8 @@ public class KpiKhxzDdyCRunnable implements Runnable{ updateParams.put("khYear", khYear); updateParams.put("khMonth", khMonth); updateParams.put("userId", userId); - updateParams.put("C", totalScore); + // 调度员和专管员有可能时一个人 + updateParams.put("C", totalScore > 30 ? 30 : totalScore); kpiKhxzDdyDao.updateC(updateParams); }); KpiUpdateMonitor.getInstance().complete();