123456789101112131415161718192021222324252627 |
- package com.zy.omp.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.zy.omp.model.DeviceInfoState;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.stereotype.Repository;
- import java.util.List;
- /**
- * 设备状态信息
- *
- * @author chenyi
- * Create on 2020/4/10
- */
- @Mapper
- @Repository
- public interface DeviceInfoStateMapper extends BaseMapper<DeviceInfoState> {
- /**
- * 通过用户openId 查询该用户的设备集合
- *
- * @param openId 用户openId
- */
- List<DeviceInfoState> listByUserId(@Param("openId") String openId);
- }
|