Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
段启岩
beyond-clouds
Commits
ac6fcb48
Commit
ac6fcb48
authored
Jan 30, 2020
by
段启岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改Mybatis配置
parent
5aa3f521
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
src/main/java/cn/meteor/beyondclouds/BeyondCloudsApplication.java
+0
-1
src/main/java/cn/meteor/beyondclouds/config/MyBatisPlusConfig.java
+2
-0
No files found.
src/main/java/cn/meteor/beyondclouds/BeyondCloudsApplication.java
View file @
ac6fcb48
...
@@ -9,7 +9,6 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
...
@@ -9,7 +9,6 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
/**
/**
* @author meteor
* @author meteor
*/
*/
@MapperScan
(
"cn.meteor.beyondclouds.modules.*.mapper"
)
@SpringBootApplication
@SpringBootApplication
public
class
BeyondCloudsApplication
{
public
class
BeyondCloudsApplication
{
...
...
src/main/java/cn/meteor/beyondclouds/config/MyBatisPlusConfig.java
View file @
ac6fcb48
package
cn
.
meteor
.
beyondclouds
.
config
;
package
cn
.
meteor
.
beyondclouds
.
config
;
import
com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor
;
import
com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
/**
/**
* @author 段启岩
* @author 段启岩
*/
*/
@MapperScan
(
"cn.meteor.beyondclouds.modules.*.mapper"
)
@Configuration
@Configuration
public
class
MyBatisPlusConfig
{
public
class
MyBatisPlusConfig
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment