Commit cb6d7567 authored by duanruiming's avatar duanruiming

修改t_device_status_log表名t_device_status

parent 8c7f15b1
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<select id="selectAllDeviceStatus" resultMap="BaseResultMap"> <select id="selectAllDeviceStatus" resultMap="BaseResultMap">
select type, status, count(*) as statusCount select type, status, count(*) as statusCount
from t_device_status_log from t_device_status
group by type, status group by type, status
order by type order by type
</select> </select>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<select id="listCrossDeviceStatusInfo" resultType="Map"> <select id="listCrossDeviceStatusInfo" resultType="Map">
select c.id crossId, c.name crossName, c.location, d.status from t_base_cross_info c select c.id crossId, c.name crossName, c.location, d.status from t_base_cross_info c
left join t_device_status_log d on c.id = d.code left join t_device_status d on c.id = d.code
where c.is_signal = 1 and d.type = 1 where c.is_signal = 1 and d.type = 1
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment