|
|
@@ -3,6 +3,7 @@ package com.kxs.daemon.quartz.task;
|
|
|
import cn.hutool.core.util.NumberUtil;
|
|
|
import com.kxs.common.core.constant.SecurityConstants;
|
|
|
import com.kxs.daemon.quartz.constants.SkyQuartzEnum;
|
|
|
+import com.kxs.stat.api.feign.RemoteKxsStatService;
|
|
|
import com.kxs.user.api.feign.RemoteKxsUserService;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import lombok.SneakyThrows;
|
|
|
@@ -24,6 +25,7 @@ public class UserBeanTask {
|
|
|
|
|
|
|
|
|
private final RemoteKxsUserService remoteKxsUserService;
|
|
|
+ private final RemoteKxsStatService remoteKxsStatService;
|
|
|
|
|
|
/**
|
|
|
* 自动表创建收支明细表任务
|
|
|
@@ -33,6 +35,8 @@ public class UserBeanTask {
|
|
|
try {
|
|
|
log.info("自动表创建任务:{}", LocalDateTime.now());
|
|
|
remoteKxsUserService.automaticTableCreationTasks(SecurityConstants.FROM_IN);
|
|
|
+ //stat统计表新建
|
|
|
+ remoteKxsStatService.autoStatTableCreationTasks(SecurityConstants.FROM_IN);
|
|
|
return SkyQuartzEnum.JOB_LOG_STATUS_SUCCESS.getType();
|
|
|
|
|
|
}catch (Exception e){
|