| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.dto.HongBao;
|
| | | import com.yeshi.fanli.entity.bus.share.UserShareGoodsGroup;
|
| | | import com.yeshi.fanli.entity.bus.user.HongBao;
|
| | | import com.yeshi.fanli.exception.share.UserShareGoodsRecordException;
|
| | |
|
| | | public interface UserShareGoodsGroupService {
|
| | |
| | | * @param auctionId
|
| | | * @return
|
| | | */
|
| | | public UserShareGoodsGroup getNewestRecord(Long uid, Long auctionId);
|
| | | public UserShareGoodsGroup getNewestRecord(Long uid, Long auctionId, Integer goodsType);
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @param count 订单数量
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void updateOrderRecord(HongBao hongBao) throws UserShareGoodsRecordException;
|
| | | public void updateOrderRecord(HongBao hongBao, int goodsType) throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | | * 单个商品分享浏览记录
|
| | |
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void updateBrowseRecord(Long uid, Long auctionId, int count) throws UserShareGoodsRecordException;
|
| | |
|
| | | /**
|
| | | * 记录浏览次数
|
| | | * @param uid
|
| | | * @param id
|
| | | * @param goodsType
|
| | | * @throws UserShareGoodsRecordException
|
| | | */
|
| | | public void updateBrowseNum(Long uid, Long id, int goodsType) throws UserShareGoodsRecordException;
|
| | | }
|