yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
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);
}