|
|
|
@ -205,7 +205,7 @@ |
|
|
|
and r.bureau_dept_id in <foreach collection="filterDepts" item="bureau_dept_id" open="(" separator="," close=")"> #{bureau_dept_id} </foreach> |
|
|
|
</if> |
|
|
|
<if test="params.dataScope != null and params.dataScope != ''"> ${params.dataScope} </if> |
|
|
|
GROUP BY r.enterprise_number order by cnt desc limit #{pageSize} |
|
|
|
GROUP BY r.enterprise_number,r.enterprise_name order by cnt desc limit #{pageSize} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 执法单位执法数量排行 --> |
|
|
|
@ -218,7 +218,7 @@ |
|
|
|
and r.bureau_dept_id in <foreach collection="filterDepts" item="bureau_dept_id" open="(" separator="," close=")"> #{bureau_dept_id} </foreach> |
|
|
|
</if> |
|
|
|
<if test="params.dataScope != null and params.dataScope != ''"> ${params.dataScope} </if> |
|
|
|
GROUP BY r.bureau_dept_id order by cnt desc limit #{pageSize} |
|
|
|
GROUP BY r.bureau_dept_id,r.bureau_dept_name order by cnt desc limit #{pageSize} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 被投诉单位次数排行 --> |
|
|
|
@ -227,7 +227,7 @@ |
|
|
|
<if test="beginTime != null and beginTime != ''"> and c.create_time >= #{beginTime} </if> |
|
|
|
<if test="endTime != null and endTime != ''"> and c.create_time < #{endTime} </if> |
|
|
|
<if test="bureauDeptId != null and bureauDeptId != ''"> and FIND_IN_SET(#{bureauDeptId}, c.complaint_department_ids) </if> |
|
|
|
GROUP BY c.complaint_department_ids order by cnt desc limit #{pageSize} |
|
|
|
GROUP BY c.complaint_department_ids,c.complaint_departments order by cnt desc limit #{pageSize} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 委托执法数量及占比 --> |
|
|
|
|