mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
添加查询标签数据源value接口
This commit is contained in:
+4
-2
@@ -4,6 +4,7 @@ import com.cf.imes.framework.organ.core.aop.OrganIgnore;
|
||||
import com.cf.imes.module.infra.service.logger.ApiAccessLogService;
|
||||
/*import com.xxl.job.core.handler.annotation.XxlJob;*/
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -30,11 +31,12 @@ public class AccessLogCleanJob {
|
||||
*/
|
||||
private static final Integer DELETE_LIMIT = 100;
|
||||
|
||||
/* @XxlJob("accessLogCleanJob")
|
||||
/* @XxlJob("accessLogCleanJob")*/
|
||||
@OrganIgnore
|
||||
/* @Scheduled(cron = "0 0 * * * ?")*/
|
||||
public void execute() {
|
||||
Integer count = apiAccessLogService.cleanAccessLog(JOB_CLEAN_RETAIN_DAY, DELETE_LIMIT);
|
||||
log.info("[execute][定时执行清理访问日志数量 ({}) 个]", count);
|
||||
}*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+4
-2
@@ -4,6 +4,7 @@ import com.cf.imes.framework.organ.core.aop.OrganIgnore;
|
||||
import com.cf.imes.module.infra.service.logger.ApiErrorLogService;
|
||||
/*import com.xxl.job.core.handler.annotation.XxlJob;*/
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -30,11 +31,12 @@ public class ErrorLogCleanJob {
|
||||
*/
|
||||
private static final Integer DELETE_LIMIT = 100;
|
||||
|
||||
/* @XxlJob("errorLogCleanJob")
|
||||
/*@XxlJob("errorLogCleanJob")*/
|
||||
@OrganIgnore
|
||||
/*@Scheduled(cron = "0 0 2 * * ?")*/
|
||||
public void execute() {
|
||||
Integer count = apiErrorLogService.cleanErrorLog(JOB_CLEAN_RETAIN_DAY,DELETE_LIMIT);
|
||||
log.info("[execute][定时执行清理错误日志数量 ({}) 个]", count);
|
||||
}*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user