Bladeren bron

在线人数曲线修改

wangliang 2 jaren geleden
bovenliggende
commit
b925798ea3
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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