提交 7967fbaa 编写于 作者: T tristaZero

modify createYamlTableRuleConfig()

上级 2e6793a9
......@@ -53,6 +53,7 @@ public final class YamlTableRuleConfigurationTest {
YamlTableRuleConfiguration result = new YamlTableRuleConfiguration();
result.setLogicTable("t_order");
result.setActualDataNodes("ds_${0..1}.t_order_${0..1}");
result.setKeyGenerator(new YamlKeyGeneratorConfiguration());
result.getKeyGenerator().setKeyGeneratorColumnName("order_id");
result.getKeyGenerator().setKeyGeneratorClassName(DefaultKeyGenerator.class.getName());
result.setLogicIndex("order_index");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册