| | |
| | | package com.panzhihua.timejob.jobhandler; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.xxl.job.core.biz.model.ReturnT; |
| | | import com.xxl.job.core.handler.annotation.XxlJob; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.annotation.Resource; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | /** |
| | | * @auther lyq |
| | |
| | | |
| | | /** |
| | | * 定时任务更新邻里圈近3天评论数/点赞数/浏览量 |
| | | * |
| | | * @return 刷新个数 |
| | | * @throws Exception 出现的异常 |
| | | * @throws Exception |
| | | * 出现的异常 |
| | | */ |
| | | @XxlJob("timedtaskNeighborCircleCommentJobHandler") |
| | | public ReturnT<String> timedtaskpartybuildingstatusJobHandler(String param) throws Exception { |
| | | log.info("定时任务更新邻里圈近3天评论数/点赞数/浏览量"); |
| | | R r=communityService.timedTaskNeighborCircleRecord(); |
| | | log.info("执行结果【{}】",r.toString()); |
| | | R r = communityService.timedTaskNeighborCircleRecord(); |
| | | log.info("执行结果【{}】", r.toString()); |
| | | return ReturnT.SUCCESS; |
| | | } |
| | | |