| | |
| | | import com.stylefeng.guns.modular.system.service.IDriverService; |
| | | import com.stylefeng.guns.modular.system.service.IOrderService; |
| | | import com.stylefeng.guns.modular.system.service.IUserMerchantCouponService; |
| | | import com.stylefeng.guns.modular.system.service.IWithdrawalService; |
| | | import com.unionpay.upyzt.resp.CusApplicationResp; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | |
| | | @Autowired |
| | | private UserWithdrawalService userWithdrawalService; |
| | | |
| | | @Autowired |
| | | private IWithdrawalService withdrawalService; |
| | | public Set<Integer> driverIds = new HashSet<>();//存储需要提醒司机预约单的司机id |
| | | |
| | | |
| | |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | @Scheduled(fixedRate = 1000 * 60) |
| | | public void taskDayFenzhang() { |
| | | try { |
| | | withdrawalService.taskDayFenzhang(); // 分账业务 |
| | | |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | |
| | | |
| | | // |