admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.yeshi.fanli.service.inter.push;
 
import java.util.List;
 
import com.yeshi.fanli.entity.push.PushGoodsRecord;
import com.yeshi.fanli.exception.push.PushGoodsRecordException;
 
public interface PushGoodsRecordService {
 
    public int deleteByPrimaryKey(Long id) throws PushGoodsRecordException;
 
    public int insert(PushGoodsRecord record) throws PushGoodsRecordException;
 
    public int insertSelective(PushGoodsRecord record) throws PushGoodsRecordException;
 
    public PushGoodsRecord selectByPrimaryKey(Long id) throws PushGoodsRecordException;
 
    public int updateByPrimaryKeySelective(PushGoodsRecord record) throws PushGoodsRecordException;
 
    public int updateByPrimaryKey(PushGoodsRecord record) throws PushGoodsRecordException;
    
    /**
     * 根据推送id 设备id 查询
     * @param pushId
     * @param deviceId
     * @return
     */
    public List<PushGoodsRecord> listByPushIdAndDeviceId(Long pushId, Long deviceId) throws PushGoodsRecordException;
}