MrShi
7 小时以前 41115bb4b6d0161ff6d2c15ef6b3d5386a14ac9c
server/dmmall_service/src/main/java/com/doumee/service/business/impl/CouponServiceImpl.java
@@ -106,6 +106,9 @@
                throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(), "关联的店铺不存在!");
            }
        }
        if(Constants.equalsInteger(coupon.getCouponType(),Constants.ZERO)){
            coupon.setMaxPrice(null);
        }
        if(coupon.getUseType() ==0){
            coupon.setValidDays(null);
        }else{