admin
2020-06-08 47f157086a556d96e7bcfc9adfe17ecf7c154dfe
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
72
73
74
75
76
77
78
package com.yeshi.fanli.service.inter.user.cloud;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.user.cloud.UserCloudGoods;
import com.yeshi.fanli.exception.user.cloud.UserCloudGoodsException;
 
public interface UserCloudGoodsService {
 
    public List<UserCloudGoods> listByUid(long start, int count, Long uid);
 
    public long countByUid(Long uid);
 
    /**
     * 根据商品信息查询
     * @param uid
     * @param goodsId
     * @param goodsType
     * @return
     */
    public UserCloudGoods getByUidAndGoods(Long uid, Long goodsId, Integer goodsType);
 
 
    /**
     * 添加发单库商品
     * @param uid
     * @param set
     * @param goodsType
     * @throws UserCloudGoodsException
     */
    public UserCloudGoods addGoods(Long uid, Long goodsId, Integer goodsType, Long sellerId) throws UserCloudGoodsException;
 
    
    /**
     * 用户删除商品
     * @param id
     * @param uid
     */
    public void deleteByPrimaryKeyAndUid(Long id, Long uid);
 
    /**
     * 查询未分享的商品
     * @param uid
     * @return
     */
    public List<UserCloudGoods> listByNotShare(Long uid);
 
    /**
     * 查询
     * @param id
     */
    public UserCloudGoods selectByPrimaryKey(Long id);
 
    
    /**
     * 更新信息
     * @param record
     */
    public void updateByPrimaryKeySelective(UserCloudGoods record);
 
    
    /**
     * 查询
     * @param page
     * @param pageSize
     * @param key
     * @return
     */
    public List<UserCloudGoods> query(int page, int pageSize, String key);
 
    public long count(String key);
 
    /**
     * 选品库
     * @param uid
     */
    public void sendGoodsMQMsg(Long uid);
}