DeviceInfoStateMapper.java 720 B

123456789101112131415161718192021222324252627
  1. package com.zy.omp.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.zy.omp.model.DeviceInfoState;
  4. import com.zy.omp.pojo.vo.DeviceDetailVO;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.springframework.stereotype.Repository;
  8. /**
  9. * 设备状态信息
  10. *
  11. * @author chenyi
  12. * Create on 2020/4/10
  13. */
  14. @Mapper
  15. @Repository
  16. public interface DeviceInfoStateMapper extends BaseMapper<DeviceInfoState> {
  17. /**
  18. * 查询设备最新的状态信息
  19. *
  20. * @param openNum 设备号
  21. * @param openId 用户openId
  22. */
  23. DeviceDetailVO getDeviceLatestDetail(@Param("openNum") String openNum, @Param("openId") String openId);
  24. }