Commit f4627fbd authored by 吴贤德's avatar 吴贤德

设备监控——设备名称暂时用酒店名称代替

parent dfd5b894
...@@ -28,7 +28,7 @@ class MonitorAction extends Action ...@@ -28,7 +28,7 @@ class MonitorAction extends Action
$where .= " and h.sp_id in(".$userInfo['sp_ids'].") "; $where .= " and h.sp_id in(".$userInfo['sp_ids'].") ";
} }
$sql = "SELECT d.id ,d.code,d.name,d.ip" $sql = "SELECT d.id ,d.code,h.name,d.ip"
." FROM sh_hotel_device d,sh_hotel h" ." FROM sh_hotel_device d,sh_hotel h"
." WHERE 1=1 and $where" ." WHERE 1=1 and $where"
." ORDER BY d.name ASC"; ." ORDER BY d.name ASC";
......
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