|
@@ -1,25 +1,26 @@
|
|
package com.persagy.adm.server.backstage.jobhandler;
|
|
package com.persagy.adm.server.backstage.jobhandler;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.persagy.adm.server.algorithm.constant.AdmServerConstant;
|
|
import com.persagy.adm.server.algorithm.constant.AdmServerConstant;
|
|
import com.persagy.adm.server.backstage.service.impl.AdmAnalysisFacade;
|
|
import com.persagy.adm.server.backstage.service.impl.AdmAnalysisFacade;
|
|
-import com.persagy.common.util.HttpClientUtil.HttpResult;
|
|
|
|
-import com.persagy.common.utils.StringUtil;
|
|
|
|
-import com.persagy.dmp.common.constant.CommonConstant;
|
|
|
|
import com.xxl.job.core.context.XxlJobHelper;
|
|
import com.xxl.job.core.context.XxlJobHelper;
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 通用的时间规则调度
|
|
|
|
|
|
+ * 执行器类
|
|
* @author : lijie
|
|
* @author : lijie
|
|
* Update By 2022/1/24 20:32
|
|
* Update By 2022/1/24 20:32
|
|
*/
|
|
*/
|
|
@Slf4j
|
|
@Slf4j
|
|
@Component
|
|
@Component
|
|
public class CommonTimeRuleJob {
|
|
public class CommonTimeRuleJob {
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 模型解析任务
|
|
|
|
+ * return : void
|
|
|
|
+ * @author : lijie
|
|
|
|
+ * Update By 2022/1/25 13:52
|
|
|
|
+ */
|
|
@XxlJob(AdmServerConstant.MODEL_ANALYSIS_TIME_RULE_JOB)
|
|
@XxlJob(AdmServerConstant.MODEL_ANALYSIS_TIME_RULE_JOB)
|
|
public void modelAnalysisJobHandler() throws Exception {
|
|
public void modelAnalysisJobHandler() throws Exception {
|
|
XxlJobHelper.log("modelAnalysisTimeRuleJob start ...");
|
|
XxlJobHelper.log("modelAnalysisTimeRuleJob start ...");
|