消费赠券 没有title

This commit is contained in:
wangw 2025-09-12 17:18:58 +08:00
parent 7d405f9455
commit cedcec2cac
3 changed files with 2 additions and 11 deletions

View File

@ -46,11 +46,6 @@ public class MkShopConsumerCouponDTO implements Serializable {
*/
// private Long syncId;
/**
* 券名称
*/
private String title;
/**
* only-仅本店 all全部 /custom 指定
*/

View File

@ -47,10 +47,6 @@ public class MkShopConsumerCoupon implements Serializable {
*/
// private Long syncId;
/**
* 券名称
*/
private String title;
/**
* only-仅本店 all全部 /custom 指定

View File

@ -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