| | |
| | | package com.yeshi.fanli.dao.mybatis.push; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.push.PushGoodsRecord; |
| | | |
| | | public interface PushGoodsRecordMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(PushGoodsRecord record); |
| | | |
| | | int insertSelective(PushGoodsRecord record); |
| | | |
| | | PushGoodsRecord selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(PushGoodsRecord record); |
| | | |
| | | int updateByPrimaryKey(PushGoodsRecord record); |
| | | |
| | | /** |
| | | * 根据推送id 设备id 查询 |
| | | * @param pushId |
| | | * @param deviceId |
| | | * @return |
| | | */ |
| | | List<PushGoodsRecord> listByPushIdAndDeviceId( @Param("pushId")Long pushId, @Param("deviceId") Long deviceId); |
| | | package com.yeshi.fanli.dao.mybatis.push;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.entity.push.PushGoodsRecord;
|
| | |
|
| | | public interface PushGoodsRecordMapper {
|
| | |
|
| | | int deleteByPrimaryKey(Long id);
|
| | |
|
| | | int insert(PushGoodsRecord record);
|
| | |
|
| | | int insertSelective(PushGoodsRecord record);
|
| | |
|
| | | PushGoodsRecord selectByPrimaryKey(Long id);
|
| | |
|
| | | int updateByPrimaryKeySelective(PushGoodsRecord record);
|
| | |
|
| | | int updateByPrimaryKey(PushGoodsRecord record);
|
| | | |
| | | /**
|
| | | * 根据推送id 设备id 查询
|
| | | * @param pushId
|
| | | * @param deviceId
|
| | | * @return
|
| | | */
|
| | | List<PushGoodsRecord> listByPushIdAndDeviceId( @Param("pushId")Long pushId, @Param("deviceId") Long deviceId);
|
| | | } |