Commit ac6fcb48 by 段启岩

修改Mybatis配置

parent 5aa3f521
......@@ -9,7 +9,6 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
/**
* @author meteor
*/
@MapperScan("cn.meteor.beyondclouds.modules.*.mapper")
@SpringBootApplication
public class BeyondCloudsApplication {
......
package cn.meteor.beyondclouds.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author 段启岩
*/
@MapperScan("cn.meteor.beyondclouds.modules.*.mapper")
@Configuration
public class MyBatisPlusConfig {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment