| | |
| | | import java.util.Map;
|
| | |
|
| | | import org.apache.ibatis.annotations.Mapper;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.moral.common.mapper.BaseMapper;
|
| | | import com.moral.entity.Device;
|
| | | import com.moral.entity.DeviceExample;
|
| | |
|
| | | @Mapper
|
| | | public interface DeviceMapper extends BaseMapper<Device, DeviceExample, Integer> {
|
| | | List<Map<String, Object>> getDeviceStates(Map<String, Object> parameters);
|
| | | public interface DeviceMapper extends BaseMapper<Device, DeviceExample, Integer>{
|
| | |
|
| | | List<Map<String, Object>> getDeviceStatesByAccount(Map<String, Object> parameters);
|
| | |
|
| | | List<Map<String, Object>> getSensorsByDevice(@Param("mac")String mac);
|
| | | } |