mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-22 01:19:37 +08:00
工单定时任务初始化
This commit is contained in:
parent
99518ef1fa
commit
03f42ca89e
@ -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=========");
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user