Browse Source

Merge branch 'saas' of http://git.dayaedu.com/yonge/mec into test

zouxuan 1 year ago
parent
commit
46403129b2

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysCouponServiceImpl.java

@@ -74,6 +74,8 @@ public class SysCouponServiceImpl extends BaseServiceImpl<Integer, SysCoupon> im
                 oldCoupon.setWarningStatus(0);
             }
             oldCoupon.setUseCondition(sysCoupon.getUseCondition());
+            oldCoupon.setStartDate(sysCoupon.getStartDate());
+            oldCoupon.setEndDate(sysCoupon.getEndDate());
             sysCouponDao.update(oldCoupon);
         } else {
             switch (sysCoupon.getType()) {