yujian
2019-10-14 3ac30b4c17cf071ce9c66a59c069ab83efae6d2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.yeshi.fanli.dao.mybatis.push;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.push.DeviceTokenHW;
 
public interface DeviceTokenHWMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(DeviceTokenHW record);
 
    int insertSelective(DeviceTokenHW record);
 
    DeviceTokenHW selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(DeviceTokenHW record);
 
    int updateByPrimaryKey(DeviceTokenHW record);
 
    List<DeviceTokenHW> selectByDeviceAndUid(@Param("device") String device, @Param("uid") Long uid);
 
    List<DeviceTokenHW> selectList(@Param("start") long start, @Param("count") int count,
            @Param("versionList") List<Integer> versionList);
 
    List<DeviceTokenHW> selectByUid(@Param("uid") Long uid, @Param("versionList") List<Integer> versionList);
 
    Long selectCount(@Param("versionList") List<Integer> versionList);
 
    List<DeviceTokenHW> selectByDevice(String device);
    
    List<DeviceTokenHW> selectByDeviceForUpdate(String device);
 
    int bindUidByDevice(@Param("uid") Long uid, @Param("device") String device);
 
}