消费赠券 没有title
This commit is contained in:
parent
7d405f9455
commit
cedcec2cac
|
|
@ -46,11 +46,6 @@ public class MkShopConsumerCouponDTO implements Serializable {
|
|||
*/
|
||||
// private Long syncId;
|
||||
|
||||
/**
|
||||
* 券名称
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* only-仅本店 all全部 /custom 指定
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -47,10 +47,6 @@ public class MkShopConsumerCoupon implements Serializable {
|
|||
*/
|
||||
// private Long syncId;
|
||||
|
||||
/**
|
||||
* 券名称
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* only-仅本店 all全部 /custom 指定
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public class MkShopConsumerCouponServiceImpl extends ServiceImpl<MkShopConsumerC
|
|||
MkShopConsumerCoupon bean = BeanUtil.toBean(param, MkShopConsumerCoupon.class);
|
||||
save(bean);
|
||||
//新增优惠券信息/数量
|
||||
couponGiftService.addCouponGift(bean.getId(), param.getTitle(), 3, param.getCouponGiftList());
|
||||
couponGiftService.addCouponGift(bean.getId(), "消费赠券", 3, param.getCouponGiftList());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -63,7 +63,7 @@ public class MkShopConsumerCouponServiceImpl extends ServiceImpl<MkShopConsumerC
|
|||
public void updateConsumerCouponById(MkShopConsumerCouponDTO param) {
|
||||
updateById(BeanUtil.toBean(param, MkShopConsumerCoupon.class), true);
|
||||
//更新优惠券信息/数量
|
||||
couponGiftService.addCouponGift(param.getId(), param.getTitle(), 3, param.getCouponGiftList());
|
||||
couponGiftService.addCouponGift(param.getId(), "消费赠券", 3, param.getCouponGiftList());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue