Commit e1585fd23555a5a076de78406f817e0d5ad9edab
1 parent
7c177029
配置修改
Showing
1 changed file
with
7 additions
and
0 deletions
src/main/resources/bootstrap.yml
... | ... | @@ -21,7 +21,14 @@ spring: |
21 | 21 | refresh: false |
22 | 22 | profiles: |
23 | 23 | active: dev |
24 | +#id生成器启用 | |
25 | +xtrade: | |
26 | + key-generator: | |
27 | + enable: true | |
24 | 28 | mybatis: |
29 | + configuration: | |
30 | + map-underscore-to-camel-case: true | |
31 | + cache-enabled: true | |
25 | 32 | mapper-locations: classpath:mapping/com/diligrp/xtrade/*product/*Dao.xml |
26 | 33 | type-aliases-package: com.diligrp.xtrade.*.domain.entity |
27 | 34 | #logging: | ... | ... |