|
@@ -3,7 +3,7 @@
|
|
<mapper namespace="com.redxun.knowledge.analysis.mapper.AnalysisSearchMapper">
|
|
<mapper namespace="com.redxun.knowledge.analysis.mapper.AnalysisSearchMapper">
|
|
|
|
|
|
<select id="searchSystemDetailVisits" resultType="com.redxun.knowledge.analysis.entity.vo.SystemDetailVisitsVo">
|
|
<select id="searchSystemDetailVisits" resultType="com.redxun.knowledge.analysis.entity.vo.SystemDetailVisitsVo">
|
|
- select PLATFORM as label,round(count(*) / sum(count(*)) over (),2) as percentage from KM_PV_LOG
|
|
|
|
|
|
+ select PLATFORM as label,count(*) as value,round(count(*) / sum(count(*)) over (),2) as percentage from KM_PV_LOG
|
|
<where>
|
|
<where>
|
|
<if test="firstDay != null and lastDay != null">
|
|
<if test="firstDay != null and lastDay != null">
|
|
TO_CHAR(CREATE_TIME_,'yyyy-mm-dd') >= #{firstDay}
|
|
TO_CHAR(CREATE_TIME_,'yyyy-mm-dd') >= #{firstDay}
|