feat(command): 初始化sync_state表
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.lanyuanxiaoyao.service.command.commands.jobs;
|
||||
|
||||
import cn.hutool.core.lang.Snowflake;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.lanyuanxiaoyao.service.common.entity.FlinkJob;
|
||||
import com.lanyuanxiaoyao.service.configuration.entity.info.TableMetaAdd;
|
||||
import com.lanyuanxiaoyao.service.forest.service.InfoService;
|
||||
@@ -70,6 +71,7 @@ public abstract class AbstractAdder implements Adder {
|
||||
t.filterType,
|
||||
t.bucketNumber
|
||||
));
|
||||
infoService.saveSyncState(StrUtil.format("{}-{}", j.id, t.alias));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user