package com.huimv.apiservice.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.huimv.apiservice.entity.SleepStatusEntity;
import com.huimv.apiservice.entity.vo.SleepStatusVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 睡眠状态表
 * 
 * @author yinhao
 * @email yinhao@163.com
 * @date 2021-05-07 15:32:42
 */
@Mapper
@Repository
public interface SleepStatusDao extends BaseMapper<SleepStatusEntity> {

    List<SleepStatusVo> selectSleepStatusVoList(@Param(Constants.WRAPPER) LambdaQueryWrapper wrapper);
}
