{ownerId}{mkey}为关键替换,应用中替换为实际的
App/{ownerId}/db.provider.shreding.json(分库分表映射)
MapperXml/{ownerId}/shreding_{mkey}.xml(建库建表语句)
Scheduler/{ownerId}/quartz-{mkey}.json(任务调度)
//切片配置
"shredConfig": {
"ownerId": "{ownerId}",
"shredKey": "quartz-job-monitor-his-db"
},
Mapper/{ownerId}/mapper-{mkey}.json(常规mapper配置)
//切片配置
"shredConfig": {
"ownerId": "{ownerId}",
"shredKey": "mkey-{mkey}"
},
文档更新时间: 2021-09-14 22:17 作者:admin