'提交代码'

dev-discount
199901012 4 years ago
parent 0a905d5e2f
commit 2084a4b2aa
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java

@ -89,7 +89,7 @@ public class HighOrderServiceImpl implements HighOrderService {
List<HighChildOrder> handselChildOrderList = new ArrayList<>();
for (HighCouponHandsel highCouponHandsel : handselListByCoupon) {
// 查询卡卷信息
HighCouponModel coupon = highCouponService.getCouponById(highCouponHandsel.getId());
HighCouponModel coupon = highCouponService.getCouponById(highCouponHandsel.getHandselCouponId());
if (coupon == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.NOT_FOUND_COUPON, "");
}

Loading…
Cancel
Save