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 selectByDeviceAndUid(@Param("device") String device, @Param("uid") Long uid); List selectList(@Param("start") long start, @Param("count") int count); List selectByUid(Long uid); Long selectCount(); List selectByDevice(String device); }