admin
2020-02-18 ddf5db7d31af51fcf697eac0cee7dd46ff73bcc1
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
package com.yeshi.fanli.dao.mybatis;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.vo.user.UserGoldCoinVO;
 
public interface UserInfoCountMapper {
 
    /**
     * 统计用户累计获得金币,消耗金币
     * @param start
     * @param count
     * @param type
     * @return
     */
    List<UserGoldCoinVO> listByUserGoldCoin(@Param("start")long start, @Param("count")int count, @Param("type")int type, @Param("key") String key);
    
    
    long countByUserGoldCoin(@Param("type")int type, @Param("key") String key);
    
    
    /**
     * 统计用户累计获得金币,消耗金币
     * @param start
     * @param count
     * @param type
     * @return
     */
    List<UserGoldCoinVO> listByHasGoldCoin(@Param("start")long start, @Param("count")int count, @Param("key") String key);
    
    
    long countByHasGoldCoin(@Param("key") String key);
    
}