From 26f7accb815f55f18f8eedfca4324700a96884ec Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 26 八月 2020 18:23:49 +0800
Subject: [PATCH] 资金验证优化
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/DeviceTokenHWMapper.java | 75 ++++++++++++++++++++-----------------
1 files changed, 40 insertions(+), 35 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 c47a2cf..03c5b87 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,36 +1,41 @@
-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);
-
- int bindUidByDevice(@Param("uid") Long uid, @Param("device") String device);
-
+package com.yeshi.fanli.dao.mybatis.push;
+
+import java.util.Date;
+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("minUpdateTime") Date minUpdateTime,
+ @Param("versionList") List<Integer> versionList);
+
+ Long selectCount(@Param("versionList") List<Integer> versionList,@Param("minUpdateTime") Date minUpdateTime);
+
+ List<DeviceTokenHW> selectByUid(@Param("uid") Long uid, @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