downgrade xxl-job release
This commit is contained in:
parent
facabbf4ae
commit
4119c70c0e
@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
|
|||||||
import com.alibaba.fastjson.TypeReference;
|
import com.alibaba.fastjson.TypeReference;
|
||||||
import com.xxl.job.core.biz.model.ReturnT;
|
import com.xxl.job.core.biz.model.ReturnT;
|
||||||
import com.xxl.job.core.handler.IJobHandler;
|
import com.xxl.job.core.handler.IJobHandler;
|
||||||
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.collections.CollectionUtils;
|
import org.apache.commons.collections.CollectionUtils;
|
||||||
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||||
@ -39,6 +40,7 @@ public class NoticeScheduleHandler extends IJobHandler {
|
|||||||
private INoticeLogService noticeLogService;
|
private INoticeLogService noticeLogService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@XxlJob("noticeScheduleHandler")
|
||||||
public ReturnT<String> execute(String params) throws Exception {
|
public ReturnT<String> execute(String params) throws Exception {
|
||||||
Arrays.stream(NoticeTypeEnum.values())
|
Arrays.stream(NoticeTypeEnum.values())
|
||||||
.forEach(noticeType -> {
|
.forEach(noticeType -> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user