去掉@MapperScan配置
This commit is contained in:
parent
ec9ff68567
commit
9b1602649e
@ -25,7 +25,6 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author dataprince数据小王子
|
||||
*/
|
||||
@Configuration
|
||||
@MapperScan("${mybatis-flex.mapper-package}")
|
||||
public class MyBatisFlexConfig implements ConfigurationCustomizer, MyBatisFlexCustomizer {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger("mybatis-flex-sql");
|
||||
|
@ -3,6 +3,7 @@ package com.ruoyi.demo.mapper;
|
||||
import java.util.List;
|
||||
import com.ruoyi.demo.domain.DemoCustomer;
|
||||
import com.ruoyi.demo.domain.DemoGoods;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 客户主表(mb)Mapper接口
|
||||
@ -10,6 +11,7 @@ import com.ruoyi.demo.domain.DemoGoods;
|
||||
* @author 数据小王子
|
||||
* 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface DemoCustomerMapper
|
||||
{
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@ package com.ruoyi.demo.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.demo.domain.DemoProduct;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 产品树表(mb)Mapper接口
|
||||
@ -9,6 +10,7 @@ import com.ruoyi.demo.domain.DemoProduct;
|
||||
* @author 数据小王子
|
||||
* 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface DemoProductMapper
|
||||
{
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@ package com.ruoyi.demo.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.demo.domain.DemoStudent;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 学生信息单表(mb)Mapper接口
|
||||
@ -9,6 +10,7 @@ import com.ruoyi.demo.domain.DemoStudent;
|
||||
* @author 数据小王子
|
||||
* 2023-07-11
|
||||
*/
|
||||
@Mapper
|
||||
public interface DemoStudentMapper
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user