Commit a9af8cca by 涂亚平

定时任务关掉

1 parent 761eaf22
...@@ -44,7 +44,7 @@ public class Scheduler { ...@@ -44,7 +44,7 @@ public class Scheduler {
/** /**
删除十天前登录记录(管理端) 删除十天前登录记录(管理端)
*/ */
@Scheduled(cron = "0 42 18 * * ?") //@Scheduled(cron = "0 42 18 * * ?")
public void delOprAdmRecord() { public void delOprAdmRecord() {
List<OprAdmDictDO> list = oprAdmDictMapper.getRecordByDate(); List<OprAdmDictDO> list = oprAdmDictMapper.getRecordByDate();
if(list != null) { if(list != null) {
...@@ -57,7 +57,7 @@ public class Scheduler { ...@@ -57,7 +57,7 @@ public class Scheduler {
/** /**
* 删除十天前登录记录(学员) * 删除十天前登录记录(学员)
*/ */
@Scheduled(cron = "0 42 18 * * ?") //@Scheduled(cron = "0 42 18 * * ?")
public void delOprMemRecord() { public void delOprMemRecord() {
List<OprMemDictDO> list = oprMemDictMapper.getRecordByDate(); List<OprMemDictDO> list = oprMemDictMapper.getRecordByDate();
if(list != null) { if(list != null) {
...@@ -70,7 +70,7 @@ public class Scheduler { ...@@ -70,7 +70,7 @@ public class Scheduler {
/** /**
* 用户数据审计记录添加(学员) * 用户数据审计记录添加(学员)
*/ */
@Scheduled(cron = "0 39 18 * * ?") //@Scheduled(cron = "0 39 18 * * ?")
public void getOprMemRecord() { public void getOprMemRecord() {
Set<String> set = redisUtil.keys("*memberLogin*"); Set<String> set = redisUtil.keys("*memberLogin*");
if(set != null) { if(set != null) {
...@@ -92,7 +92,7 @@ public class Scheduler { ...@@ -92,7 +92,7 @@ public class Scheduler {
/** /**
* 视频播放记录缩量 * 视频播放记录缩量
*/ */
@Scheduled(cron = "0 35 18 * * ?") //@Scheduled(cron = "0 35 18 * * ?")
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void condenseVodPlayHistory() { public void condenseVodPlayHistory() {
List<VodPlayHistoryDO> list = vodPlayHistoryMapper.getVodPlayHistory(); List<VodPlayHistoryDO> list = vodPlayHistoryMapper.getVodPlayHistory();
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<if test="paperId != null and paperId !=''"> <if test="paperId != null and paperId !=''">
AND t.paper_id = #{paperId} AND t.paper_id = #{paperId}
</if> </if>
order by t.create_date order by t.score desc
</select> </select>
<select id="getPaperDetail" resultType="com.subsidy.vo.administer.GetPaperDetailVO"> <select id="getPaperDetail" resultType="com.subsidy.vo.administer.GetPaperDetailVO">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!