yanghb
2023-04-24 981a04a92cbdf6fbd7b54ff9eec7b9c4e0896354
DriverTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/TaskUtil.java
@@ -2,7 +2,6 @@
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 org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@@ -26,9 +25,6 @@
    @Autowired
    private JGPushUtil jgPushUtil;
    @Autowired
    private IUserMerchantCouponService userMerchantCouponService;
    public Set<Integer> driverIds = new HashSet<>();//存储需要提醒司机预约单的司机id
@@ -48,8 +44,6 @@
            driverService.taskOffWork();
            //处理结束订单后30分钟解绑小号功能
            orderService.taskMidAxbUnBindSend();
            //修改过期的商家券
            userMerchantCouponService.updateExpired();
        } catch (Exception e) {
            e.printStackTrace();
        }