券 失效
This commit is contained in:
@@ -151,7 +151,7 @@ public class ACouponController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除用户优惠券
|
* 删除用户优惠券 失效
|
||||||
*
|
*
|
||||||
* @param id 优惠券记录Id
|
* @param id 优惠券记录Id
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -202,7 +202,8 @@ public class MkShopCouponRecordServiceImpl extends ServiceImpl<MkShopCouponRecor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteRecord(Long id) {
|
public void deleteRecord(Long id) {
|
||||||
updateById(new MkShopCouponRecord().setId(id).setIsDel(1), true);
|
// updateById(new MkShopCouponRecord().setId(id).setIsDel(1), true);
|
||||||
|
updateById(new MkShopCouponRecord().setId(id).setStatus(2), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user