|
@@ -237,12 +237,7 @@ public class CouponServiceImpl extends ServiceImpl<MtCouponMapper, MtCoupon> imp
|
|
|
reqCouponDto.setSendNum(1);
|
|
|
}
|
|
|
|
|
|
- if (mtCoupon.getType().equals(CouponTypeEnum.PRESTORE.getKey())) {
|
|
|
- mtCoupon.setSendWay(SendWayEnum.FRONT.getKey());
|
|
|
- } else {
|
|
|
- mtCoupon.setSendWay(reqCouponDto.getSendWay());
|
|
|
- }
|
|
|
-
|
|
|
+ mtCoupon.setSendWay(reqCouponDto.getSendWay());
|
|
|
mtCoupon.setSendNum(reqCouponDto.getSendNum());
|
|
|
|
|
|
if (reqCouponDto.getTotal() == null) {
|