实现了数据层的功能

This commit is contained in:
2026-05-13 03:11:56 +08:00
commit 3a86d29e5c
18 changed files with 607 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
spring:
profiles:
active: dev
application:
name: bookMgr
datasource:
driver-class-name: ${DB_DRIVER}
url: jdbc:${DB_TYPE}://${DB_URL}:${DB_PORT}/${DB_NAME}
username: ${DB_USER}
password: ${DB_PASSWORD}
mybatis-plus:
configuration:
# 开启驼峰命名法
map-underscore-to-camel-case: true
# 开启日志输出sql语句
log-impl: org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl