|
|
@ -7,6 +7,7 @@ import com.supervision.police.domain.TaskRecord;
|
|
|
|
import com.supervision.police.service.*;
|
|
|
|
import com.supervision.police.service.*;
|
|
|
|
import com.xxl.job.core.context.XxlJobHelper;
|
|
|
|
import com.xxl.job.core.context.XxlJobHelper;
|
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
@ -19,17 +20,12 @@ import static com.supervision.common.constant.TaskRecordConstants.*;
|
|
|
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
|
|
@Slf4j
|
|
|
|
@Component
|
|
|
|
@Component
|
|
|
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
public class XxlJobTask {
|
|
|
|
public class XxlJobTask {
|
|
|
|
@Autowired
|
|
|
|
private final CaseEvidenceService caseEvidenceService;
|
|
|
|
private CaseEvidenceService caseEvidenceService;
|
|
|
|
private final TaskRecordService taskRecordService;
|
|
|
|
@Autowired
|
|
|
|
private final TaskCaseRecordService taskCaseRecordService;
|
|
|
|
private TaskRecordService taskRecordService;
|
|
|
|
private final NotePromptService notePromptService;
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
private TaskCaseRecordService taskCaseRecordService;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
private ModelCaseService modelCaseService;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
private NotePromptService notePromptService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 睡觉通知
|
|
|
|
* 睡觉通知
|
|
|
|