Browse Source

设备在线率时间修改

develop
王兴琳 4 weeks ago
parent
commit
bb25e4d00a
  1. 2
      zc-business/src/main/resources/mapper/OnlineSumMapper.xml

2
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()
<if test="type.length != 0">
and (d.device_type in
<foreach item="typeItem" collection="type" open="(" separator="," close=")">

Loading…
Cancel
Save