admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenOPPOMapper.java
@@ -1,44 +1,44 @@
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.DeviceTokenOPPO;
public interface DeviceTokenOPPOMapper extends BaseMapper<DeviceTokenOPPO> {
   /**
    * 根据设备激活ID查询
    *
    * @param deviceActiveId
    * @return
    */
   DeviceTokenOPPO selectByDeviceActiveId(Long deviceActiveId);
   /**
    * 设备数量
    *
    * @return
    */
   long countDeviceToken(@Param("versionList")List<Integer> versionList);
   /**
    * 设备列表
    *
    * @param start
    * @param count
    * @return
    */
   List<DeviceTokenOPPO> listDeviceToken(@Param("start") long start, @Param("count") int count,
         @Param("versionList") List<Integer> versionList);
   /**
    * 根据用户ID查询
    *
    * @param uid
    * @return
    */
   List<DeviceTokenOPPO> listByUid(@Param("uid")Long uid,@Param("versionList") List<Integer> verisonList);
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.DeviceTokenOPPO;
public interface DeviceTokenOPPOMapper extends BaseMapper<DeviceTokenOPPO> {
   /**
    * 根据设备激活ID查询
    *
    * @param deviceActiveId
    * @return
    */
   DeviceTokenOPPO selectByDeviceActiveId(Long deviceActiveId);
   /**
    * 设备数量
    *
    * @return
    */
   long countDeviceToken(@Param("versionList")List<Integer> versionList);
   /**
    * 设备列表
    *
    * @param start
    * @param count
    * @return
    */
   List<DeviceTokenOPPO> listDeviceToken(@Param("start") long start, @Param("count") int count,
         @Param("versionList") List<Integer> versionList);
   /**
    * 根据用户ID查询
    *
    * @param uid
    * @return
    */
   List<DeviceTokenOPPO> listByUid(@Param("uid")Long uid,@Param("versionList") List<Integer> verisonList);
}