Commit 4e21af2f by huluobin

异常

parent e0db95f7
...@@ -77,7 +77,11 @@ public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, Charg ...@@ -77,7 +77,11 @@ public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, Charg
.stream().filter(config -> config.getChargeAmount() <= result.getTotalFee()) .stream().filter(config -> config.getChargeAmount() <= result.getTotalFee())
.max(Comparator.comparing(DiscountConfig::getChargeAmount)).orElseThrow(NullPointerException::new); .max(Comparator.comparing(DiscountConfig::getChargeAmount)).orElseThrow(NullPointerException::new);
try {
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId()); couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
} catch (RRException e) {
log.error(e.getMessage());
}
//首次充值 //首次充值
......
...@@ -21,7 +21,7 @@ import java.time.LocalDateTime; ...@@ -21,7 +21,7 @@ import java.time.LocalDateTime;
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true) @Accessors(chain = true)
@ApiModel(value="OrderIncomeFlow对象", description="") @ApiModel(value = "OrderIncomeFlow对象", description = "")
public class OrderIncomeFlow implements Serializable { public class OrderIncomeFlow implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment