| | |
| | | package com.yeshi.fanli.dao.mybatis.tlj; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinRecord; |
| | | import com.yeshi.fanli.vo.user.UserTaoLiJinRecordVO; |
| | | |
| | | public interface UserTaoLiJinRecordMapper extends BaseMapper<UserTaoLiJinRecord> { |
| | | |
| | | /** |
| | | * 查询分享记录 |
| | | * @return |
| | | */ |
| | | List<UserTaoLiJinRecordVO> getRecordByUid(@Param("start")long start,@Param("count")int count, @Param("uid")long uid); |
| | | |
| | | |
| | | long countRecordByUid(@Param("uid")Long uid); |
| | | |
| | | /** |
| | | * 今日创建分享红包个数 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | long countTodayNum(@Param("uid")Long uid); |
| | | |
| | | /** |
| | | * 查询用户分享 |
| | | * @param uid |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | BigDecimal getShareHongBaoByUidAndGoodsId(@Param("uid")Long uid, @Param("goodsId")Long goodsId); |
| | | |
| | | /** |
| | | * 根据淘礼金id查询 |
| | | * @param rightsId |
| | | * @return |
| | | */ |
| | | UserTaoLiJinRecord getByRightsId(@Param("rightsId")String rightsId); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.tlj;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.tlj.UserTaoLiJinRecord;
|
| | | import com.yeshi.fanli.vo.user.UserTaoLiJinRecordVO;
|
| | |
|
| | | public interface UserTaoLiJinRecordMapper extends BaseMapper<UserTaoLiJinRecord> {
|
| | | |
| | | /**
|
| | | * 查询分享记录
|
| | | * @return
|
| | | */
|
| | | List<UserTaoLiJinRecordVO> getRecordByUid(@Param("start")long start,@Param("count")int count, @Param("uid")long uid);
|
| | | |
| | | |
| | | long countRecordByUid(@Param("uid")Long uid);
|
| | | |
| | | |
| | | |
| | | /**
|
| | | * 统计分析记录条数
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | long countShareRecordByUid(@Param("uid")Long uid);
|
| | | |
| | | /**
|
| | | * 今日创建分享红包个数
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | long countTodayNum(@Param("uid")Long uid);
|
| | | |
| | | /**
|
| | | * 查询用户分享
|
| | | * @param uid
|
| | | * @param goodsId
|
| | | * @return
|
| | | */
|
| | | BigDecimal getShareHongBaoByUidAndGoodsId(@Param("uid")Long uid, @Param("goodsId")Long goodsId);
|
| | | |
| | | /**
|
| | | * 根据淘礼金id查询
|
| | | * @param rightsId
|
| | | * @return
|
| | | */
|
| | | UserTaoLiJinRecord getByRightsId(@Param("rightsId")String rightsId);
|
| | | |
| | | } |