| | |
| | | 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);
|
| | | 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); |
| | | |
| | | } |