瀏覽代碼

在线人数曲线修改

wangliang 2 年之前
父節點
當前提交
b925798ea3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 2 - 2
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -1630,7 +1630,7 @@
     <sql id="getTimeOnlineDataCommon">
         select
         t.hour,
-        count(distinct t.examRecordId) as onlineCount,
+        count(t.examRecordId) as onlineCount,
         0 as offlineCount
         from
         (
@@ -1655,7 +1655,7 @@
         select
         t.hour,
         0 as onlineCount,
-        count(distinct t.examRecordId) as offlineCount
+        count(t.examRecordId) as offlineCount
         from
         (
         select