소스 검색

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

xujie 1 년 전
부모
커밋
260fd3ae3b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      soc-modules/soc-modules-core/src/main/resources/mapper/reportForms/MonitorAccessReportMapper.xml

+ 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