From 52bc8ff0de3c7538d1401423c1cba9615c0c2082 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 18 六月 2020 17:22:24 +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