You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
### XML映射
|
|
|
|
|
|
|
|
|
|
1. XML名称与Mapper接口名称一致,同包同名
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### SpringBoot配置文件
|
|
|
|
|
properties 配置文件 臃肿不清晰
|
|
|
|
|
yaml/yml 配置文件 清晰简洁
|
|
|
|
|
1. 配置文件名可以任意,但建议以application开头,如application.yml
|
|
|
|
|
2. 以空格为缩进,相同层级的属性,缩进相同,左边对齐
|