|
|
@@ -137,7 +137,7 @@ public class LifeCouponServiceImpl extends ServiceImpl<LifeCouponMapper, LifeCou
|
|
|
wrapper.eq(LifeCoupon::getDataType, dataType);
|
|
|
wrapper.orderByDesc(LifeCoupon::getCreatedTime);
|
|
|
IPage<LifeCoupon> lifeCouponIPage = new Page<>(page, size);
|
|
|
- //如果singleQty的数量<=0,则修改status状态为已结束
|
|
|
+ //如果singleQty 库存的数量<=0,则修改status状态为已售罄 状态为4
|
|
|
LifeCoupon lifeCouponNew = new LifeCoupon();
|
|
|
lifeCouponNew.setStoreId(storeId);
|
|
|
lifeCouponNew.setStatus(4);
|