diff --git a/shoot-hand/ics-quartz/src/main/java/com/ics/quartz/task/RepairTask.java b/shoot-hand/ics-quartz/src/main/java/com/ics/quartz/task/RepairTask.java new file mode 100644 index 0000000..4fc3ce0 --- /dev/null +++ b/shoot-hand/ics-quartz/src/main/java/com/ics/quartz/task/RepairTask.java @@ -0,0 +1,35 @@ +package com.ics.quartz.task; + +import com.ics.admin.service.IRepairService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +/** + * created at 2024-8-13 14:11 + * + * @author lujiang + * @version 1.0.0 + * @since 1.0.0 + */ +@Slf4j +@Component("repairTask") +public class RepairTask { + + @Autowired + private IRepairService repairService; + + /** + * 工单超时预警 + */ + public void repairTimeOut(){ + System.out.println("========come on time out========="); + } + + /** + * 工单完成7天后未评价 则 自动好评 + */ + public void repairGoodEval() { + System.out.println("========come on give me five========="); + } +}