|
@@ -72,6 +72,7 @@ public class SysCouponServiceImpl extends BaseServiceImpl<Integer, SysCoupon> im
|
|
|
if (oldCoupon.getStockCount() - oldCoupon.getConsumeNum() > oldCoupon.getWarningStockNum()) {
|
|
|
oldCoupon.setWarningStatus(0);
|
|
|
}
|
|
|
+ oldCoupon.setUseCondition(sysCoupon.getUseCondition());
|
|
|
sysCouponDao.update(oldCoupon);
|
|
|
} else {
|
|
|
switch (sysCoupon.getType()) {
|