xiaoyong931011
2023-02-20 a2a4dd75b0c0e51b325c4fbe89da80dfa4a5d24f
src/main/java/cc/mrbird/febs/mall/quartz/OrderOvertimeJob.java
@@ -12,6 +12,7 @@
import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@@ -24,6 +25,7 @@
 **/
@Slf4j
@Component
@ConditionalOnProperty(prefix = "system", name = "job", havingValue = "true")
public class OrderOvertimeJob {
    @Autowired