|
@@ -245,7 +245,7 @@ public class ApiOrderNewServiceImpl implements ApiOrderNewService {
|
|
|
order.setCouponAmount(BigDecimal.ZERO);
|
|
|
if (couponDto != null && !isDadaOrder) {
|
|
|
if (couponDto.getType().equals(CouponTypeEnum.MAN_JIAN.type)) {
|
|
|
- if (order.getTotalAmount().compareTo(couponDto.getLimitFee()) >= 0 && !isMine) {
|
|
|
+ if (order.getTotalAmount().add(couponDto.getMoney()).compareTo(couponDto.getLimitFee()) >= 0 && !isMine) {
|
|
|
log.info("进入满减券!");
|
|
|
order.setCouponAmount(couponDto.getMoney());
|
|
|
order.setCouponId(Long.valueOf(couponDto.getId()));
|