提交 7d835998 编写于 作者: C cherrylzhao

revise yaml file for saga-raw-jdbc.

上级 4cddd52f
......@@ -28,7 +28,12 @@ shardingRule:
tableStrategy:
inline:
shardingColumn: order_id
algorithmExpression: t_order_item_${order_id % 2}
algorithmExpression: t_order_item_${order_id % 2}
keyGenerator:
type: SNOWFLAKE
column: order_item_id
props:
worker.id: 123
bindingTables:
- t_order,t_order_item
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册