yujian
2019-02-27 b3fce41f7960a21c707788aa87448c3e4de82da9
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java
@@ -9,6 +9,7 @@
import com.yeshi.fanli.vo.user.UserSystemCouponVO;
public interface UserSystemCouponService {
   public int insertSelective(UserSystemCoupon record);
   public UserSystemCoupon selectByPrimaryKey(Long id);
@@ -74,7 +75,7 @@
   /**
    * 更新券使用记录
    * @param uid
    * @param id
    * @param id
    * @throws UserSystemCouponException
    * @throws Exception
    */
@@ -115,5 +116,41 @@
    */
   public UserSystemCouponRecordVO getFreeCouponRecord(String orderNo) throws UserSystemCouponException, Exception;
   /**
    * 根据订单来源查询
    * @param uid
    * @param source
    * @return
    */
   public List<UserSystemCoupon> getUserCouponBySource(Long uid, String source);
   /**
    * 插入券信息
    * @param uid
    * @param couponType
    * @param source  来源
    * @throws UserSystemCouponException
    * @throws Exception
    */
   public void insertUserCoupon(Long uid, String couponType, String source) throws UserSystemCouponException, Exception;
   /**
    * 券已过期更新
    * @param uid
    */
   public void updateCounponInvalid(Long uid);
   /**
    * 退回券
    * @param uid
    */
   public void sendBackCoupon(Long uid);
   /**
    * 激活福利免单券
    * @param uid
    */
   public void activatedWelfareFreeCoupon(Long uid);
   
}