| | |
| | | package com.stylefeng.guns.modular.system.util; |
| | | |
| | | import com.stylefeng.guns.modular.account.service.UserWithdrawalService; |
| | | import com.stylefeng.guns.modular.crossCity.server.ILineShiftDriverService; |
| | | import com.stylefeng.guns.modular.system.service.IDriverService; |
| | | import com.stylefeng.guns.modular.system.service.IOrderService; |
| | | import com.stylefeng.guns.modular.system.service.IUserMerchantCouponService; |
| | |
| | | @Autowired |
| | | private UserWithdrawalService userWithdrawalService; |
| | | |
| | | @Autowired |
| | | private ILineShiftDriverService lineShiftDriverService; |
| | | |
| | | public Set<Integer> driverIds = new HashSet<>();//存储需要提醒司机预约单的司机id |
| | | |
| | | private String ip = null; |
| | |
| | | orderService.taskMidAxbUnBindSend(); |
| | | //修改过期的商家券 |
| | | userMerchantCouponService.updateExpired(); |
| | | //自动取消已超时且无订单的司机排班 |
| | | lineShiftDriverService.autoCancelExpiredNoOrderShifts(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |