Browse Source

导出

develop
wangsixiang 3 months ago
parent
commit
9a4f0c78a5
  1. 4
      zc-business/src/main/resources/mapper/OnlineSumMapper.xml

4
zc-business/src/main/resources/mapper/OnlineSumMapper.xml

@ -81,7 +81,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="queryByDeviceTypesOfToday" parameterType="com.zc.business.controller.queryParams.OnlineQueryParams" resultMap="OnlineSum">
select d.device_ip,d.device_name,d.stake_mark,COALESCE (d.child_type, d.device_type) as device_type,
d.direction,d.use_state,d.device_state,
d.direction,
IF(d.use_state = 1, d.use_state, 0) AS use_state,
IF(d.device_state = 1, d.device_state, 0) AS device_state,
s.id,s.device_id,total_count,online_rate,
offline_rate,loss_rate,rtt_avg,network_quality,statistical_date
from dc_device d

Loading…
Cancel
Save