yujian
2019-08-27 81ee25c8d585f68cd4af784b3000b583d0a03393
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java
@@ -1,10 +1,44 @@
package com.yeshi.fanli.service.inter.user;
import java.util.List;
import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord;
public interface UserSystemCouponGiveRecordService {
   public void insertSelective(UserSystemCouponGiveRecord record);
   /**
    * 更新领取记录
    * @param receiveUid
    * @param giveUid
    * @param couponId
    */
   public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord);
   /**
    * 查询赠送记录
    * @param giveUid
    * @param couponId
    * @return
    */
   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);
}