From e58a23079cf25fc43ff4ef8035d1629d56959348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=BB=B4=E7=82=B3?= Date: Mon, 21 Apr 2025 10:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91mybatis=20x?= =?UTF-8?q?ml=E6=96=87=E4=BB=B6=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exam-server/src/main/resources/application.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/exam-server/src/main/resources/application.yaml b/exam-server/src/main/resources/application.yaml index 6252bb53..e1db9659 100644 --- a/exam-server/src/main/resources/application.yaml +++ b/exam-server/src/main/resources/application.yaml @@ -63,6 +63,15 @@ flowable: check-process-definitions: false # 设置为 false,禁用 /resources/processes 自动部署 BPMN XML 流程 history-level: audit # full:保存历史数据的最高级别,可保存全部流程相关细节,包括流程流转各节点参数 +# MyBatis配置 +mybatis: + # 搜索指定包别名 + 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: configuration: