yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponRecordServiceImpl.java
@@ -54,18 +54,14 @@
   }
   @Override
   public List<UserSystemCouponRecord> getCouponByUsingTimeOut(Long uid, Long seconds) {
      return userSystemCouponRecordMapper.getCouponByUsingTimeOut(uid, seconds);
   }
   @Override
   public boolean isSuccessMianDan(Integer source, String orderId) {
      List<String> orderList = new ArrayList<>();
      orderList.add(orderId);
      List<UserSystemCouponRecord> list = getRecordByOrderNoList(source, orderList);
      for (UserSystemCouponRecord record : list) {
         if (record.getCouponType().equalsIgnoreCase(CouponTypeEnum.freeCoupon.name())
               || record.getCouponType().equalsIgnoreCase(CouponTypeEnum.welfareFreeCoupon.name())) {
               || record.getCouponType().equalsIgnoreCase(CouponTypeEnum.welfareFreeCoupon.name())
               || record.getCouponType().equalsIgnoreCase(CouponTypeEnum.freeCouponBuy.name())) {
            if (record.getState() == UserSystemCouponRecord.STATE_FREE_ON
                  || record.getState() == UserSystemCouponRecord.STATE_SUCCESS)
               return true;