#
zjj
2025-09-23 c9c80ecde06d151f4f2f3ccf46d3f4c0e65cd8a1
src/main/resources/mapper/BasShuttleOptMapper.xml
@@ -29,4 +29,11 @@
        group by shuttle_no
    </select>
    <select id="selectRunErrorStatistic" resultType="map">
        select shuttle_no,count(*) count from asr_bas_shuttle_err_log
        where start_time &gt; DATEADD(day, DATEDIFF(day, 0, GETDATE())-#{time}, 0)
        and start_time &lt; DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0)
        GROUP BY shuttle_no
    </select>
</mapper>