|
@@ -6,7 +6,6 @@ import org.springframework.scheduling.annotation.Scheduled;
|
6
|
6
|
import org.springframework.stereotype.Component;
|
7
|
7
|
|
8
|
8
|
import javax.annotation.Resource;
|
9
|
|
-import java.util.Date;
|
10
|
9
|
|
11
|
10
|
/**
|
12
|
11
|
* @author ywx
|
|
@@ -32,7 +31,6 @@ public class LivePlayTask {
|
32
|
31
|
@Scheduled(cron = "${cron.updateSectionState}")
|
33
|
32
|
public void updateSectionState(){
|
34
|
33
|
try {
|
35
|
|
- System.out.println(new Date());
|
36
|
34
|
courseSectionService.updateSectionState2();
|
37
|
35
|
} catch (Exception e) {
|
38
|
36
|
System.out.println("定时任务修改课节状态异常:"+e.getCause().getMessage());
|