Commit a9af8cca by 涂亚平

定时任务关掉

1 parent 761eaf22
......@@ -44,7 +44,7 @@ public class Scheduler {
/**
删除十天前登录记录(管理端)
*/
@Scheduled(cron = "0 42 18 * * ?")
//@Scheduled(cron = "0 42 18 * * ?")
public void delOprAdmRecord() {
List<OprAdmDictDO> 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<OprMemDictDO> 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<String> 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<VodPlayHistoryDO> list = vodPlayHistoryMapper.getVodPlayHistory();
......
......@@ -42,7 +42,7 @@
<if test="paperId != null and paperId !=''">
AND t.paper_id = #{paperId}
</if>
order by t.create_date
order by t.score desc
</select>
<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!