Update pom.xml for MyBatis Plus integration and downgrade Spring Boot version; refactor validation imports from Jakarta to Javax; modify mappers to extend BaseMapper for CRUD operations; clean up unused MyBatis-Flex mappers; adjust application.yml for MyBatis Plus configuration.
This commit is contained in:
@@ -12,11 +12,18 @@ spring:
|
||||
minimum-idle: 2
|
||||
connection-timeout: 30000
|
||||
|
||||
mybatis:
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mapper/**/*.xml
|
||||
type-aliases-package: com.gameplatform.server.model
|
||||
type-aliases-package: com.gameplatform.server.model.entity
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
logic-delete-field: deleted
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
|
||||
server:
|
||||
port: 18080
|
||||
@@ -31,7 +38,7 @@ logging:
|
||||
level:
|
||||
root: info
|
||||
com.gameplatform.server: debug
|
||||
org.mybatis: debug
|
||||
com.baomidou.mybatisplus: debug
|
||||
org.apache.ibatis: debug
|
||||
com.zaxxer.hikari: info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user