|
@@ -32,9 +32,9 @@ public class TimeTask {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private CmCandidateBelongDetailService cmCandidateBelongDetailService;
|
|
private CmCandidateBelongDetailService cmCandidateBelongDetailService;
|
|
|
/**
|
|
/**
|
|
|
- * 每天凌晨两点执行任务:90天未跟进丢入公海
|
|
|
|
|
|
|
+ * 每天凌晨两点5分执行任务:90天未跟进丢入公海
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "0 30 10 * * ?")
|
|
|
|
|
|
|
+ @Scheduled(cron = "0 5 2 * * ?")
|
|
|
@Transactional
|
|
@Transactional
|
|
|
public void candidatetToSea() {
|
|
public void candidatetToSea() {
|
|
|
List<CmCandidateTrack> list = cmCandidateTrackMapper.findBeyondContactDaysTrack(Integer.parseInt(Global.getCrmAutoDate()));
|
|
List<CmCandidateTrack> list = cmCandidateTrackMapper.findBeyondContactDaysTrack(Integer.parseInt(Global.getCrmAutoDate()));
|