package cn.minbb.iot.service; import cn.minbb.iot.model.Device; import java.util.List; public interface DeviceService { Device save(Device device); Device findOneBySerialNumber(String serialNumber); List findAllByUserId(Integer userId); }