admin
2019-01-05 0338c241f0a5a7606b12c4f55b699976a91cff91
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
package com.yeshi.fanli.dao.mybatis.share;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.bus.share.UserShareGoodsRecord;
 
public interface UserShareGoodsRecordMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(UserShareGoodsRecord record);
 
    int insertSelective(UserShareGoodsRecord record);
 
    UserShareGoodsRecord selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(UserShareGoodsRecord record);
 
    int updateByPrimaryKey(UserShareGoodsRecord record);
 
    /**
     * 查询用户对应的分享记录
     * 
     * @param start
     * @param count
     * @param uid
     * @return
     */
    List<UserShareGoodsRecord> listQueryByUid(@Param("start") long start, @Param("count") int count,
            @Param("uid") Long uid, @Param("source") String source);
 
    long countQueryByUid(@Param("uid") Long uid, @Param("source") String source);
 
    /**
     * 统计记录
     * 
     * @param list
     * @return
     */
    List<UserShareGoodsRecord> listCountRecord(@Param("list") List<Long> list);
 
    /**
     * 统计今日浏览记录
     * 
     * @param list
     * @return
     */
    List<UserShareGoodsRecord> listCountTodayBrowse(@Param("list") List<Long> list);
 
}