随笔分类 - mybatis
摘要:1 添加相关依赖: implementation "mysql:mysql-connector-java:${mysqlConnectorJavaVersion}" compile "com.baomidou:mybatis-plus-boot-starter:${mybatisPlusStarte
阅读全文
摘要:mybatis-plus: ## mapper文件位置 mapper-locations: classpath*:/mapper/**/*.xml ## 别名包设置,在mapper.xml中可直接用类名 type-aliases-package: com.xx.xx.entity global-co
阅读全文