| | |
| | | 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.grid.GridService; |
| | | 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; |
| | | |
| | | /** |
| | | * 综治管理定时任务 |
| | |
| | | @XxlJob("timedTaskGridMemberJobHandler") |
| | | public ReturnT<String> timedTaskGridMemberJobHandler(String param) throws Exception { |
| | | log.info("定时任务判断网格员是否在岗开始"); |
| | | R r=gridService.timedTaskGridMember(); |
| | | log.info("执行结果【{}】",r.toString()); |
| | | R r = gridService.timedTaskGridMember(); |
| | | log.info("执行结果【{}】", r.toString()); |
| | | return ReturnT.SUCCESS; |
| | | } |
| | | } |