From 177249c76aeea0b4bf8d8816d4994e3b445b45ce Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 02 九月 2021 10:39:34 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/zzj' into zzj --- springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/UserJobHandler.java | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/UserJobHandler.java b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/UserJobHandler.java index 9a5a203..6a55786 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/UserJobHandler.java +++ b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/UserJobHandler.java @@ -1,13 +1,15 @@ 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.user.UserService; 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; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -21,16 +23,19 @@ @Resource private UserService userService; + /** * 维护用户持续登录天数 + * * @return 维护个数 - * @throws Exception 出现的异常 + * @throws Exception + * 出现的异常 */ @XxlJob("timedTaskContinuousLandingDaysJobHandler") public ReturnT<String> timedTaskContinuousLandingDaysJobHandler(String param) throws Exception { log.info("维护用户持续登录天数"); - R r=userService.timedTaskContinuousLandingDays(); - log.info("执行结果【{}】",r.toString()); + R r = userService.timedTaskContinuousLandingDays(); + log.info("执行结果【{}】", r.toString()); return ReturnT.SUCCESS; } -- Gitblit v1.7.1