From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java | 68 ++++++++++++++++++--------------- 1 files changed, 37 insertions(+), 31 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java index 0df875c..f35fd9b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java @@ -1,32 +1,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); - - List<DeviceTokenHW> selectByUid(Long uid); - - Long selectCount(); - - List<DeviceTokenHW> selectByDevice(String device); +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); + } \ No newline at end of file -- Gitblit v1.8.0