xufenglei
2018-03-07 52303c8868a7d63238e5ac579c85721306e51a40
src/main/java/com/moral/service/DeviceService.java
@@ -3,6 +3,8 @@
import java.util.List;
import java.util.Map;
import com.moral.common.bean.PageBean;
import com.moral.common.bean.PageResult;
import com.moral.common.bean.ResultBean;
import com.moral.entity.Device;
public interface DeviceService {
@@ -15,6 +17,11 @@
   Device getDeviceByMac(String mac);
   List<Device> query(Map<String,Object> map);
    PageResult query(Integer orgId, String deviceName,Integer pageSize,Integer pageNo);
    PageResult query(Integer orgId, Integer mpId, Integer pageSize, Integer pageNo);
    PageBean queryByPageBean(PageBean pageBean);
   void deleteByIds(Integer[] ids);
@@ -22,4 +29,6 @@
    void addOrModify(Device device);
   List<Device> getDevicesByMonitorPointId(Integer monitorPointId);
   List<Map<String,String>> queryDevicesState(List<String> macList,Boolean withData);
}