package cc.mrbird.febs.job; import cc.mrbird.febs.dapp.service.DappSystemService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.stereotype.Component; /** * @author wzy * @date 2022-05-30 **/ @Slf4j @Component @ConditionalOnProperty(prefix = "system", name = "reset-job", havingValue = "true") public class MatrixResetJob { @Autowired private DappSystemService systemService; // @Scheduled(cron = "0 0 0 * * ?") // public void resetMatrix() { //// log.info("重置"); //// systemService.resetMatrix(); // } }