|
@@ -353,7 +353,7 @@ public class CmVipCouponService extends CrudService<CmCouponVipDao, CmVipCoupon>
|
|
|
// 逻辑删除
|
|
|
cmCouponService.delete(coupon);
|
|
|
}
|
|
|
- cmCouponVipDao.update(cmVipCoupon);
|
|
|
+ cmCouponVipDao.updateVipCouponMonth(cmVipCoupon);
|
|
|
// 逻辑删除关系表
|
|
|
cmCouponVipDao.deleteByMonthId(cmVipCoupon.getId());
|
|
|
}
|
|
@@ -366,7 +366,7 @@ public class CmVipCouponService extends CrudService<CmCouponVipDao, CmVipCoupon>
|
|
|
coupon.setStatus("2");
|
|
|
cmCouponService.save(coupon);
|
|
|
}
|
|
|
- cmCouponVipDao.update(cmVipCoupon);
|
|
|
+ cmCouponVipDao.updateVipCouponMonth(cmVipCoupon);
|
|
|
}
|
|
|
|
|
|
@Transactional(readOnly = false)
|
|
@@ -377,6 +377,6 @@ public class CmVipCouponService extends CrudService<CmCouponVipDao, CmVipCoupon>
|
|
|
coupon.setStatus("1");
|
|
|
cmCouponService.save(coupon);
|
|
|
}
|
|
|
- cmCouponVipDao.update(cmVipCoupon);
|
|
|
+ cmCouponVipDao.updateVipCouponMonth(cmVipCoupon);
|
|
|
}
|
|
|
}
|