src/main/resources/mapper/DeviceMapper.xml
@@ -309,4 +309,13 @@ (SELECT id FROM monitor_point WHERE city_code!=130900 or (city_code=130900 and organization_id in (60, 65, 159, 165, 166) and id!=56 and id!=83 and id!=84)) and mac not in (SELECT mac FROM special_device_config); </select> <select id="getOfflineDeviceOfDiseaseCenter" resultType="java.util.Map"> SELECT name,mac FROM `device` WHERE state=4 and is_delete=0 and monitor_point_id in( SELECT id FROM monitor_point WHERE organization_id=#{orgId} ); </select> </mapper>