package cn.iocoder.yudao.module.member.job;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;

import cn.hutool.core.util.ObjUtil;
import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
import cn.iocoder.yudao.framework.tenant.core.aop.TenantIgnore;
import cn.iocoder.yudao.module.member.service.statisticsspacecapsuleorder.StatisticsSpaceCapsuleOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;


@Slf4j
@Component
public class StatisticsSpaceCapsuleOrderJob implements JobHandler {
    @Resource
    private StatisticsSpaceCapsuleOrderService capsuleOrderService;
    @Override
    @TenantIgnore
    public String execute(String param) throws Exception {
        log.info("开始进行定时统计================》");
        capsuleOrderService.init();
        return "初始化太空舱订单成功";
    }


}
