diff --git a/exam-server/src/main/resources/application.yaml b/exam-server/src/main/resources/application.yaml index ffc53b78..284bac56 100644 --- a/exam-server/src/main/resources/application.yaml +++ b/exam-server/src/main/resources/application.yaml @@ -63,19 +63,9 @@ flowable: check-process-definitions: false # 设置为 false,禁用 /resources/processes 自动部署 BPMN XML 流程 history-level: audit # full:保存历史数据的最高级别,可保存全部流程相关细节,包括流程流转各节点参数 -# MyBatis配置 -mybatis: - configuration: - map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。 - # 搜索指定包别名 - typeAliasesPackage: pc.exam.pp.module.**.dal.dataobject - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mysql/**/*Mapper.xml - # 加载全局的配置文件 - configLocation: classpath:mybatis/mybatis-config.xml - # MyBatis Plus 的配置项 mybatis-plus: + mapper-locations: "classpath:/mapper/**/**/*.xml" configuration: map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。 global-config: