Browse Source

Merge remote-tracking branch 'origin/V0.1.0_zhulu' into V0.1.0_zhulu

xujie 1 year ago
parent
commit
260fd3ae3b

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/reportForms/MonitorAccessReportMapper.xml

@@ -69,7 +69,7 @@
     </select>
     <select id="avg" resultType="java.lang.String">
         SELECT
-        IFNULL( ROUND( SUM( a.average_duration )/ COUNT( a.id ), 2 ), 0 )
+        IFNULL( ROUND( (SUM( a.average_duration )/1000 / 3600)/ COUNT( a.id ), 2 ), 0 )
         FROM
         core_monitoring_task_registration a
         LEFT JOIN core_monitoring_retrieval_task b ON a.task_id = b.id