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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.yeshi.fanli.dao.mybatis.push;
 
import java.util.List;
 
import com.yeshi.fanli.entity.push.PushGoodsGroup;
 
public interface PushGoodsGroupMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(PushGoodsGroup record);
 
    int insertSelective(PushGoodsGroup record);
 
    PushGoodsGroup selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(PushGoodsGroup record);
 
    int updateByPrimaryKey(PushGoodsGroup record);
 
    /**
     * 根据推送id统计
     * @param pushId
     * @return
     */
    long countByPushId(Long pushId);
    
    /**
     * 根据推送id删除商品
     * @param pushId
     * @return
     */
    int deleteByPushId(Long pushId);
    
    
    /**
     * 根据推送id查询商品
     * @param pushId
     * @return
     */
    List<PushGoodsGroup> selectByPushId(Long pushId);
    
    /**
     * 根据推送id查询商品所有信息
     * @param pushId
     * @return
     */
    List<PushGoodsGroup> getAllInfoByPushId(Long pushId);
    
    /**
     * 批量插入
     * @param list
     * @return
     */
    int insertBatch(List<PushGoodsGroup> list);
    
    /**
     * 批量删除
     * @param list
     * @return
     */
    int deleteBatchByPrimaryKey(List<Long> list);
    
    /**
     * 批量删除 根据推送id
     * @param list
     * @return
     */
    int deleteBatchByPushId(List<Long> list);
    
}