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);
|
|
|
long countByUserGoldCoin(@Param("type")int type);
|
|
|
/**
|
* 统计用户累计获得金币,消耗金币
|
* @param start
|
* @param count
|
* @param type
|
* @return
|
*/
|
List<UserGoldCoinVO> listByHasGoldCoin(@Param("start")long start, @Param("count")int count);
|
|
|
long countByHasGoldCoin();
|
}
|