diff --git a/src/main/java/com/subsidy/jobs/Scheduler.java b/src/main/java/com/subsidy/jobs/Scheduler.java index bc15b92..ee7e619 100644 --- a/src/main/java/com/subsidy/jobs/Scheduler.java +++ b/src/main/java/com/subsidy/jobs/Scheduler.java @@ -44,7 +44,7 @@ public class Scheduler { /** 删除十天前登录记录(管理端) */ - @Scheduled(cron = "0 42 18 * * ?") + //@Scheduled(cron = "0 42 18 * * ?") public void delOprAdmRecord() { List list = oprAdmDictMapper.getRecordByDate(); if(list != null) { @@ -57,7 +57,7 @@ public class Scheduler { /** * 删除十天前登录记录(学员) */ - @Scheduled(cron = "0 42 18 * * ?") + //@Scheduled(cron = "0 42 18 * * ?") public void delOprMemRecord() { List list = oprMemDictMapper.getRecordByDate(); if(list != null) { @@ -70,7 +70,7 @@ public class Scheduler { /** * 用户数据审计记录添加(学员) */ - @Scheduled(cron = "0 39 18 * * ?") + //@Scheduled(cron = "0 39 18 * * ?") public void getOprMemRecord() { Set set = redisUtil.keys("*memberLogin*"); if(set != null) { @@ -92,7 +92,7 @@ public class Scheduler { /** * 视频播放记录缩量 */ - @Scheduled(cron = "0 35 18 * * ?") + //@Scheduled(cron = "0 35 18 * * ?") @Transactional(rollbackFor = Exception.class) public void condenseVodPlayHistory() { List list = vodPlayHistoryMapper.getVodPlayHistory(); diff --git a/src/main/resources/mapper/ExerciseDoneResultMapper.xml b/src/main/resources/mapper/ExerciseDoneResultMapper.xml index 7150293..22bcf4c 100644 --- a/src/main/resources/mapper/ExerciseDoneResultMapper.xml +++ b/src/main/resources/mapper/ExerciseDoneResultMapper.xml @@ -42,7 +42,7 @@ AND t.paper_id = #{paperId} - order by t.create_date + order by t.score desc