diff --git a/zc-business/src/main/resources/mapper/OnlineSumMapper.xml b/zc-business/src/main/resources/mapper/OnlineSumMapper.xml index 30ea62ae..8b8aceeb 100644 --- a/zc-business/src/main/resources/mapper/OnlineSumMapper.xml +++ b/zc-business/src/main/resources/mapper/OnlineSumMapper.xml @@ -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() and (d.device_type in