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,7 +21,14 @@ spring: | ||
21 | refresh: false | 21 | refresh: false |
22 | profiles: | 22 | profiles: |
23 | active: dev | 23 | active: dev |
24 | +#id生成器启用 | ||
25 | +xtrade: | ||
26 | + key-generator: | ||
27 | + enable: true | ||
24 | mybatis: | 28 | mybatis: |
29 | + configuration: | ||
30 | + map-underscore-to-camel-case: true | ||
31 | + cache-enabled: true | ||
25 | mapper-locations: classpath:mapping/com/diligrp/xtrade/*product/*Dao.xml | 32 | mapper-locations: classpath:mapping/com/diligrp/xtrade/*product/*Dao.xml |
26 | type-aliases-package: com.diligrp.xtrade.*.domain.entity | 33 | type-aliases-package: com.diligrp.xtrade.*.domain.entity |
27 | #logging: | 34 | #logging: |