| | |
| | | |
| | | |
| | | import com.stylefeng.guns.modular.system.service.IUserCouponRecordService; |
| | | import com.stylefeng.guns.modular.system.service.IUserMerchantCouponService; |
| | | import com.stylefeng.guns.modular.system.service.IUserTaxiCardService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | @Autowired |
| | | private IUserCouponRecordService userCouponRecordService; |
| | | |
| | | @Autowired |
| | | private IUserMerchantCouponService userMerchantCouponService; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | try { |
| | | //修改过期的优惠券 |
| | | userCouponRecordService.updateTimeOut(); |
| | | //修改过期的商家优惠券 |
| | | userMerchantCouponService.updateExpired(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |