From 207ae7df18d601d839d945d32c5519f95b959a92 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 28 十二月 2019 11:28:49 +0800
Subject: [PATCH] 文章
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java | 71 ++++++++++++++++++-----------------
1 files changed, 37 insertions(+), 34 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 cfc2c41..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,35 +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);
-
- int bindUidByDevice(@Param("uid") Long uid, @Param("device") 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