| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord;
|
| | |
|
| | | public interface UserSystemCouponGiveRecordService {
|
| | |
| | | public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId);
|
| | |
|
| | |
|
| | | /**
|
| | | * 未领取退回券
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | public List<UserSystemCouponGiveRecord> overdueList(int count);
|
| | |
|
| | | |
| | | /**
|
| | | * id查询
|
| | | * @param id
|
| | | * @return
|
| | | */
|
| | | public UserSystemCouponGiveRecord selectByPrimaryKey(Long id);
|
| | |
|
| | | /**
|
| | | * 赠送需退回
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid);
|
| | | |
| | | |
| | | /**
|
| | | * 领取的id
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | public UserSystemCouponGiveRecord getByReceiveId(Long receiveId);
|
| | | |
| | | /**
|
| | | * 查询券赠送信息
|
| | | * @param couponId
|
| | | * @return
|
| | | */
|
| | | public UserSystemCouponGiveRecord getByCouponId(Long couponId);
|
| | |
|
| | |
|
| | | |
| | | /**
|
| | | * 查询赠送记录
|
| | | * @param start
|
| | | * @param count
|
| | | * @param type
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | public List<UserSystemCouponGiveRecord> listGiveRecord(long start, int count, String type, Integer state);
|
| | |
|
| | | public long countGiveRecord(String type, Integer state);
|
| | |
|
| | | }
|