@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from dc_device d
join dc_online_sum s on s.device_id = d.id
where
s.statistical_date = CURDATE()
DATE(s.statistical_date) = CURDATE()
<if test="type.length != 0">
and (d.device_type in
<foreach item="typeItem" collection="type" open="(" separator="," close=")">