@@ -47,6 +47,7 @@
<if test="riskStatus != null and riskStatus != ''">and i.risk_status = #{riskStatus}</if>
<!-- 数据范围过滤 -->
${params.dataScope}
+ group by i.bus_inspection_id
order by i.create_time desc
</where>