package com.yeshi.fanli.dao.mybatis.push;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.push.DeviceTokenVIVO;
|
|
public interface DeviceTokenVIVOMapper extends BaseMapper<DeviceTokenVIVO> {
|
|
/**
|
* 根据设备激活ID查询
|
*
|
* @param deviceActiveId
|
* @return
|
*/
|
DeviceTokenVIVO selectByDeviceActiveId(Long deviceActiveId);
|
|
/**
|
* 设备数量
|
*
|
* @return
|
*/
|
long countDeviceToken(@Param("versionList") List<Integer> versionList);
|
|
/**
|
* 设备列表
|
*
|
* @param start
|
* @param count
|
* @return
|
*/
|
List<DeviceTokenVIVO> listDeviceToken(@Param("start") long start, @Param("count") int count,
|
@Param("versionList") List<Integer> versionList);
|
|
/**
|
* 根据用户ID查询
|
*
|
* @param uid
|
* @return
|
*/
|
List<DeviceTokenVIVO> listByUid(@Param("uid") Long uid, @Param("versionList") List<Integer> verisonList);
|
}
|