admin
2020-07-01 c54fb6a88876be994906d57d2d18e844686964d0
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponRecordService.java
@@ -14,24 +14,34 @@
   public int updateByPrimaryKey(UserSystemCouponRecord record);
   public UserSystemCouponRecord getRecordByOrderNo(String orderNo, Integer state);
   public UserSystemCouponRecord getRecordByOrderNo(String orderNo, Integer source, Integer state);
   public List<UserSystemCouponRecord> getRecordByOrderNoList(List<String> list);
   public List<UserSystemCouponRecord> getRecordByOrderNoList(Integer source, List<String> list);
   /**
    * 查询正在使用中 超过时间仍未匹配到订单记录
    * @param uid
    * @param seconds
    * @return
    */
   public List<UserSystemCouponRecord> getCouponByUsingTimeOut(Long uid, long seconds);
   /**
    * 查询状态
    *
    * @param uid
    * @param state
    * @return
    */
   public List<UserSystemCouponRecord> getRecordByState(Long uid, Integer state);
   /**
    * 订单号是否成功免单
    *
    * @param orderId
    * @return
    */
   public boolean isSuccessMianDan(Integer source, String orderId);
   
   /**
    * 查询最近记录
    * @param userCouponId
    * @return
    */
   public UserSystemCouponRecord getNearByUserCouponId(Long userCouponId);
}