wuchimedes | a1bf278 | 2025-03-27 15:08:54 +0800 | [diff] [blame] | 1 | package com.example.g8backend.config; |
2 | |||||
3 | import org.mybatis.spring.annotation.MapperScan; | ||||
4 | import org.springframework.context.annotation.Configuration; | ||||
5 | |||||
6 | @Configuration | ||||
7 | @MapperScan("com.example.g8backend.mapper") // 扫描 Mapper 接口 | ||||
8 | public class MyBatisPlusConfig { | ||||
9 | } |