package com.example.g8backend.config; | |
import org.mybatis.spring.annotation.MapperScan; | |
import org.springframework.context.annotation.Configuration; | |
@Configuration | |
@MapperScan("com.example.g8backend.mapper") // 扫描 Mapper 接口 | |
public class MyBatisPlusConfig { | |
} |