-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Important features before updating v1.2.2
- Loading branch information
Showing
24 changed files
with
788 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
{ | ||
"hash": "d2c99fb3", | ||
"browserHash": "97749c07", | ||
"hash": "781a7085", | ||
"browserHash": "be614ef1", | ||
"optimized": { | ||
"vue": { | ||
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"file": "vue.js", | ||
"fileHash": "6067efec", | ||
"fileHash": "60cd4b44", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vue/devtools-api": { | ||
"src": "../../../../node_modules/.pnpm/@[email protected]/node_modules/@vue/devtools-api/lib/esm/index.js", | ||
"file": "vitepress___@vue_devtools-api.js", | ||
"fileHash": "fb8c79c3", | ||
"fileHash": "8aa91583", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/integrations/useFocusTrap": { | ||
"src": "../../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js", | ||
"fileHash": "c66bc33c", | ||
"fileHash": "8d823c88", | ||
"needsInterop": false | ||
}, | ||
"vitepress > mark.js/src/vanilla.js": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/mark.js/src/vanilla.js", | ||
"file": "vitepress___mark__js_src_vanilla__js.js", | ||
"fileHash": "598cd587", | ||
"fileHash": "08d4bc64", | ||
"needsInterop": false | ||
}, | ||
"vitepress > minisearch": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/minisearch/dist/es/index.js", | ||
"file": "vitepress___minisearch.js", | ||
"fileHash": "9a248a67", | ||
"fileHash": "2cad61f5", | ||
"needsInterop": false | ||
}, | ||
"@theme/index": { | ||
"src": "../../../../node_modules/.pnpm/[email protected]/node_modules/vitepress/dist/client/theme-default/index.js", | ||
"file": "@theme_index.js", | ||
"fileHash": "c845442c", | ||
"fileHash": "78f7c416", | ||
"needsInterop": false | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 多个图空间 | ||
|
||
## 固定空间 | ||
|
||
- 在实体类中追加 @Space("myspace") 指定 tag 所属空间 | ||
- 在xml的mapper标签中 | ||
|
||
```xml | ||
<!-- 优先级要高于 yml 连接参数中指定的 space --> | ||
<mapper namespace="your.domain.PersonDao" space="test"> | ||
|
||
</mapper> | ||
``` | ||
|
||
- 在接口方法的标签中指定 space,如: | ||
|
||
```xml | ||
<mapper namespace="your.domain.PersonDao" space="test"> | ||
|
||
<!-- 优先级要高于 mapper 中的 test --> | ||
<select id="spaceFromParam" space="test2"> | ||
RETURN true; | ||
</select> | ||
|
||
</mapper> | ||
``` | ||
|
||
## 动态空间 (^1.2.2) | ||
|
||
```xml | ||
<select id="spaceFromParam" space="${paramMySpace}" spaceFromParam="true"> | ||
RETURN true; | ||
</select> | ||
``` | ||
> paramMySpace通过接口的参数传入。 |
Oops, something went wrong.